mirror of
https://github.com/python/cpython.git
synced 2025-10-15 11:22:18 +00:00
![]() Add a helper for raising DB-API compatible exceptions based on the result code of SQLite C APIs. Some APIs do not store the error indicator on the database pointer, so we need to be able to deduce the DB-API compatible exception directly from the error code. - rename _pysqlite_seterror() as set_error_from_db() - introduce set_error_from_code() |
||
---|---|---|
.. | ||
clinic | ||
blob.c | ||
blob.h | ||
connection.c | ||
connection.h | ||
cursor.c | ||
cursor.h | ||
microprotocols.c | ||
microprotocols.h | ||
module.c | ||
module.h | ||
prepare_protocol.c | ||
prepare_protocol.h | ||
row.c | ||
row.h | ||
statement.c | ||
statement.h | ||
util.c | ||
util.h |