We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22fdb3d commit 217da20Copy full SHA for 217da20
Modules/_sqlite/connection.c
@@ -819,8 +819,9 @@ final_callback(sqlite3_context *context)
819
_PyErr_ChainExceptions(exception, value, tb);
820
821
/* Note: contrary to the step, value, and inverse callbacks, SQLite
822
- * does not, as of SQLite 3.38.0, propagate errors to sqlite3_step()
823
- * from the finalize callback. */
+ * does _not_, as of SQLite 3.38.0, propagate errors to sqlite3_step()
+ * from the finalize callback. This implies that execute*() will not
824
+ * raise OperationalError, as it normally would. */
825
set_sqlite_error(context, attr_err
826
? "user-defined aggregate's 'finalize' method not defined"
827
: "user-defined aggregate's 'finalize' method raised error");
0 commit comments