Searched refs:pysqlite_OperationalError (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Modules/_sqlite/ |
D | module.c | 39 *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()
|
D | connection.c | 56 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()
|
D | module.h | 35 extern PyObject* pysqlite_OperationalError;
|
D | util.c | 84 PyErr_SetString(pysqlite_OperationalError, sqlite3_errmsg(db)); in _pysqlite_seterror()
|
D | cursor.c | 375 PyErr_SetString(pysqlite_OperationalError, buf); in _pysqlite_fetch_one_row() 672 PyErr_SetString(pysqlite_OperationalError, "Error while building row_cast_map"); in _pysqlite_query_execute()
|
/external/python/cpython3/Modules/_sqlite/ |
D | module.c | 39 *pysqlite_InternalError, *pysqlite_OperationalError, *pysqlite_ProgrammingError, variable 139 PyErr_SetString(pysqlite_OperationalError, "Changing the shared_cache flag failed"); in module_enable_shared_cache() 390 …if (!(pysqlite_OperationalError = PyErr_NewException(MODULE_NAME ".OperationalError", pysqlite_Dat… in PyInit__sqlite3() 393 PyDict_SetItemString(dict, "OperationalError", pysqlite_OperationalError); in PyInit__sqlite3()
|
D | connection.c | 66 PyErr_SetString(pysqlite_OperationalError, errmsg); in _sqlite3_result_error() 195 self->OperationalError = pysqlite_OperationalError; in pysqlite_connection_init() 843 PyErr_SetString(pysqlite_OperationalError, "Error creating function"); in pysqlite_connection_create_function() 874 PyErr_SetString(pysqlite_OperationalError, "Error creating aggregate"); in pysqlite_connection_create_aggregate() 1009 PyErr_SetString(pysqlite_OperationalError, "Error setting authorizer callback"); in pysqlite_connection_set_authorizer() 1091 PyErr_SetString(pysqlite_OperationalError, "Error enabling load extension"); in pysqlite_enable_load_extension() 1114 PyErr_SetString(pysqlite_OperationalError, errmsg); in pysqlite_load_extension() 1465 PyErr_SetString(pysqlite_OperationalError, "Failed to obtain _iterdump() reference"); in pysqlite_connection_iterdump()
|
D | module.h | 35 extern PyObject* pysqlite_OperationalError;
|
D | cursor.c | 306 PyErr_SetString(pysqlite_OperationalError, "Could not decode to UTF-8"); in _pysqlite_fetch_one_row() 310 … PyErr_SetString(pysqlite_OperationalError, "Could not decode to UTF-8"); in _pysqlite_fetch_one_row() 312 PyErr_SetObject(pysqlite_OperationalError, error_obj); in _pysqlite_fetch_one_row() 581 PyErr_SetString(pysqlite_OperationalError, "Error while building row_cast_map"); in _pysqlite_query_execute()
|
D | util.c | 84 PyErr_SetString(pysqlite_OperationalError, sqlite3_errmsg(db)); in _pysqlite_seterror()
|