@@ -617,7 +617,7 @@ void _pysqlite_func_callback(sqlite3_context* context, int argc, sqlite3_value**
617617 Py_DECREF (py_retval );
618618 }
619619 if (!ok ) {
620- if (_enable_callback_tracebacks ) {
620+ if (_pysqlite_enable_callback_tracebacks ) {
621621 PyErr_Print ();
622622 } else {
623623 PyErr_Clear ();
@@ -649,7 +649,7 @@ static void _pysqlite_step_callback(sqlite3_context *context, int argc, sqlite3_
649649
650650 if (PyErr_Occurred ()) {
651651 * aggregate_instance = 0 ;
652- if (_enable_callback_tracebacks ) {
652+ if (_pysqlite_enable_callback_tracebacks ) {
653653 PyErr_Print ();
654654 } else {
655655 PyErr_Clear ();
@@ -673,7 +673,7 @@ static void _pysqlite_step_callback(sqlite3_context *context, int argc, sqlite3_
673673 Py_DECREF (args );
674674
675675 if (!function_result ) {
676- if (_enable_callback_tracebacks ) {
676+ if (_pysqlite_enable_callback_tracebacks ) {
677677 PyErr_Print ();
678678 } else {
679679 PyErr_Clear ();
@@ -723,7 +723,7 @@ void _pysqlite_final_callback(sqlite3_context* context)
723723 Py_DECREF (function_result );
724724 }
725725 if (!ok ) {
726- if (_enable_callback_tracebacks ) {
726+ if (_pysqlite_enable_callback_tracebacks ) {
727727 PyErr_Print ();
728728 } else {
729729 PyErr_Clear ();
@@ -907,7 +907,7 @@ static int _authorizer_callback(void* user_arg, int action, const char* arg1, co
907907 ret = PyObject_CallFunction ((PyObject * )user_arg , "issss" , action , arg1 , arg2 , dbname , access_attempt_source );
908908
909909 if (ret == NULL ) {
910- if (_enable_callback_tracebacks )
910+ if (_pysqlite_enable_callback_tracebacks )
911911 PyErr_Print ();
912912 else
913913 PyErr_Clear ();
@@ -918,7 +918,7 @@ static int _authorizer_callback(void* user_arg, int action, const char* arg1, co
918918 if (PyLong_Check (ret )) {
919919 rc = _PyLong_AsInt (ret );
920920 if (rc == -1 && PyErr_Occurred ()) {
921- if (_enable_callback_tracebacks )
921+ if (_pysqlite_enable_callback_tracebacks )
922922 PyErr_Print ();
923923 else
924924 PyErr_Clear ();
@@ -945,7 +945,7 @@ static int _progress_handler(void* user_arg)
945945 ret = _PyObject_CallNoArg ((PyObject * )user_arg );
946946
947947 if (!ret ) {
948- if (_enable_callback_tracebacks ) {
948+ if (_pysqlite_enable_callback_tracebacks ) {
949949 PyErr_Print ();
950950 } else {
951951 PyErr_Clear ();
@@ -980,7 +980,7 @@ static void _trace_callback(void* user_arg, const char* statement_string)
980980 if (ret ) {
981981 Py_DECREF (ret );
982982 } else {
983- if (_enable_callback_tracebacks ) {
983+ if (_pysqlite_enable_callback_tracebacks ) {
984984 PyErr_Print ();
985985 } else {
986986 PyErr_Clear ();
0 commit comments