mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #28985: Update authorizer constants in sqlite3 module
Dates and version information from the changelog: * 2006-08-12 (3.3.7) added SQLITE_CREATE_VTABLE, SQLITE_DROP_VTABLE * 2006-10-09 (3.3.8) added SQLITE_FUNCTION * 2009-01-12 (3.6.8) added SQLITE_SAVEPOINT * 2014-02-03 (3.8.3) added SQLITE_RECURSIVE Patch by Dingyuan Wang.
This commit is contained in:
parent
b6cdc28d34
commit
00b1ae0dfc
2 changed files with 16 additions and 0 deletions
|
@ -302,6 +302,19 @@ static const IntConstantPair _int_constants[] = {
|
|||
#endif
|
||||
#if SQLITE_VERSION_NUMBER >= 3003000
|
||||
{"SQLITE_ANALYZE", SQLITE_ANALYZE},
|
||||
#endif
|
||||
#if SQLITE_VERSION_NUMBER >= 3003007
|
||||
{"SQLITE_CREATE_VTABLE", SQLITE_CREATE_VTABLE},
|
||||
{"SQLITE_DROP_VTABLE", SQLITE_DROP_VTABLE},
|
||||
#endif
|
||||
#if SQLITE_VERSION_NUMBER >= 3003008
|
||||
{"SQLITE_FUNCTION", SQLITE_FUNCTION},
|
||||
#endif
|
||||
#if SQLITE_VERSION_NUMBER >= 3006008
|
||||
{"SQLITE_SAVEPOINT", SQLITE_SAVEPOINT},
|
||||
#endif
|
||||
#if SQLITE_VERSION_NUMBER >= 3008003
|
||||
{"SQLITE_RECURSIVE", SQLITE_RECURSIVE},
|
||||
#endif
|
||||
{(char*)NULL, 0}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue