Home
last modified time | relevance | path

Searched refs:pysqlite_OperationalError (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Modules/_sqlite/
Dconnection.c70 PyErr_SetString(pysqlite_OperationalError, errmsg); in _sqlite3_result_error()
204 self->OperationalError = pysqlite_OperationalError; in pysqlite_connection_init()
837 PyErr_SetString(pysqlite_OperationalError, "Error creating function"); in pysqlite_connection_create_function()
867 PyErr_SetString(pysqlite_OperationalError, "Error creating aggregate"); in pysqlite_connection_create_aggregate()
988 PyErr_SetString(pysqlite_OperationalError, "Error setting authorizer callback"); in pysqlite_connection_set_authorizer()
1066 PyErr_SetString(pysqlite_OperationalError, "Error enabling load extension"); in pysqlite_enable_load_extension()
1089 PyErr_SetString(pysqlite_OperationalError, errmsg); in pysqlite_load_extension()
1437 PyErr_SetString(pysqlite_OperationalError, "Failed to obtain _iterdump() reference"); in pysqlite_connection_iterdump()
1489 PyErr_SetString(pysqlite_OperationalError, "target is in transaction"); in pysqlite_connection_backup()
1555 PyErr_SetString(pysqlite_OperationalError, sqlite3_errstr(rc)); in pysqlite_connection_backup()
[all …]
Dmodule.c43 PyObject *pysqlite_OperationalError = NULL; variable
146 PyErr_SetString(pysqlite_OperationalError, "Changing the shared_cache flag failed"); in module_enable_shared_cache()
413 …if (!(pysqlite_OperationalError = PyErr_NewException(MODULE_NAME ".OperationalError", pysqlite_Dat… in PyInit__sqlite3()
416 PyDict_SetItemString(dict, "OperationalError", pysqlite_OperationalError); in PyInit__sqlite3()
Dmodule.h35 extern PyObject* pysqlite_OperationalError;
Dcursor.c305 PyErr_SetString(pysqlite_OperationalError, "Could not decode to UTF-8"); in _pysqlite_fetch_one_row()
309 … PyErr_SetString(pysqlite_OperationalError, "Could not decode to UTF-8"); in _pysqlite_fetch_one_row()
311 PyErr_SetObject(pysqlite_OperationalError, error_obj); in _pysqlite_fetch_one_row()
554 PyErr_SetString(pysqlite_OperationalError, "Error while building row_cast_map"); in _pysqlite_query_execute()
Dutil.c77 PyErr_SetString(pysqlite_OperationalError, sqlite3_errmsg(db)); in _pysqlite_seterror()
/external/python/cpython2/Modules/_sqlite/
Dmodule.c39 *pysqlite_InternalError, *pysqlite_OperationalError, *pysqlite_ProgrammingError, variable
131 PyErr_SetString(pysqlite_OperationalError, "Changing the shared_cache flag failed"); in module_enable_shared_cache()
370 …if (!(pysqlite_OperationalError = PyErr_NewException(MODULE_NAME ".OperationalError", pysqlite_Dat… in init_sqlite3()
373 PyDict_SetItemString(dict, "OperationalError", pysqlite_OperationalError); in init_sqlite3()
Dconnection.c56 PyErr_SetString(pysqlite_OperationalError, errmsg); in _sqlite3_result_error()
208 self->OperationalError = pysqlite_OperationalError; in pysqlite_connection_init()
884 PyErr_SetString(pysqlite_OperationalError, "Error creating function"); in pysqlite_connection_create_function()
916 PyErr_SetString(pysqlite_OperationalError, "Error creating aggregate"); in pysqlite_connection_create_aggregate()
1013 PyErr_SetString(pysqlite_OperationalError, "Error setting authorizer callback"); in pysqlite_connection_set_authorizer()
1070 PyErr_SetString(pysqlite_OperationalError, "Error enabling load extension"); in pysqlite_enable_load_extension()
1094 PyErr_SetString(pysqlite_OperationalError, errmsg); in pysqlite_load_extension()
1448 PyErr_SetString(pysqlite_OperationalError, "Failed to obtain _iterdump() reference"); in pysqlite_connection_iterdump()
Dmodule.h35 extern PyObject* pysqlite_OperationalError;
Dutil.c84 PyErr_SetString(pysqlite_OperationalError, sqlite3_errmsg(db)); in _pysqlite_seterror()
Dcursor.c374 PyErr_SetString(pysqlite_OperationalError, buf); in _pysqlite_fetch_one_row()
671 PyErr_SetString(pysqlite_OperationalError, "Error while building row_cast_map"); in _pysqlite_query_execute()