mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-16379: expose SQLite error codes and error names in sqlite3
(GH-27786)
This commit is contained in:
parent
f62763d267
commit
86d8b46523
8 changed files with 264 additions and 32 deletions
|
@ -81,6 +81,8 @@ pysqlite_get_state_by_type(PyTypeObject *Py_UNUSED(tp))
|
|||
return &pysqlite_global_state;
|
||||
}
|
||||
|
||||
extern const char *pysqlite_error_name(int rc);
|
||||
|
||||
#define PARSE_DECLTYPES 1
|
||||
#define PARSE_COLNAMES 2
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue