Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 00b1ae0

Browse files
committed
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.
1 parent b6cdc28 commit 00b1ae0

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ Core and Builtins
208208
Library
209209
-------
210210

211+
- Issue #28985: Update authorizer constants in sqlite3 module.
212+
Patch by Dingyuan Wang.
213+
211214
- Issue #29094: Offsets in a ZIP file created with extern file object and modes
212215
"w" and "x" now are relative to the start of the file.
213216

Modules/_sqlite/module.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,19 @@ static const IntConstantPair _int_constants[] = {
302302
#endif
303303
#if SQLITE_VERSION_NUMBER >= 3003000
304304
{"SQLITE_ANALYZE", SQLITE_ANALYZE},
305+
#endif
306+
#if SQLITE_VERSION_NUMBER >= 3003007
307+
{"SQLITE_CREATE_VTABLE", SQLITE_CREATE_VTABLE},
308+
{"SQLITE_DROP_VTABLE", SQLITE_DROP_VTABLE},
309+
#endif
310+
#if SQLITE_VERSION_NUMBER >= 3003008
311+
{"SQLITE_FUNCTION", SQLITE_FUNCTION},
312+
#endif
313+
#if SQLITE_VERSION_NUMBER >= 3006008
314+
{"SQLITE_SAVEPOINT", SQLITE_SAVEPOINT},
315+
#endif
316+
#if SQLITE_VERSION_NUMBER >= 3008003
317+
{"SQLITE_RECURSIVE", SQLITE_RECURSIVE},
305318
#endif
306319
{(char*)NULL, 0}
307320
};

0 commit comments

Comments
 (0)