Compare commits

..

4 Commits

Author SHA1 Message Date
Erlend Egeberg Aasland
dbfc2faaa7 Add SQLite 3.31.1 for CPython bpo-38380 (GH-18) 2020-02-28 22:08:01 -06:00
Łukasz Langa
3569f2f4d5 Merge pull request #17 from erlend-aasland/upgrade-sqlite
Add SQLite 3.30.1 for CPython bpo-38380.
2020-02-27 15:33:23 +01:00
Erlend E. Aasland
116e5a8ef6 Add SQLite 3.30.1 for CPython bpo-38380 2020-02-27 14:46:08 +01:00
Erlend E. Aasland
c8155127ee Add SQLite 3.30.0 for CPython bpo-38380 2019-10-09 16:55:04 +02:00
4 changed files with 15320 additions and 7422 deletions

2264
shell.c

File diff suppressed because it is too large Load Diff

19829
sqlite3.c

File diff suppressed because it is too large Load Diff

629
sqlite3.h

File diff suppressed because it is too large Load Diff

View File

@@ -322,6 +322,14 @@ struct sqlite3_api_routines {
/* Version 3.28.0 and later */
int (*stmt_isexplain)(sqlite3_stmt*);
int (*value_frombind)(sqlite3_value*);
/* Version 3.30.0 and later */
int (*drop_modules)(sqlite3*,const char**);
/* Version 3.31.0 and later */
sqlite3_int64 (*hard_heap_limit64)(sqlite3_int64);
const char *(*uri_key)(const char*,int);
const char *(*filename_database)(const char*);
const char *(*filename_journal)(const char*);
const char *(*filename_wal)(const char*);
};
/*
@@ -612,8 +620,16 @@ typedef int (*sqlite3_loadext_entry)(
/* Version 3.26.0 and later */
#define sqlite3_normalized_sql sqlite3_api->normalized_sql
/* Version 3.28.0 and later */
#define sqlite3_stmt_isexplain sqlite3_api->isexplain
#define sqlite3_value_frombind sqlite3_api->frombind
#define sqlite3_stmt_isexplain sqlite3_api->stmt_isexplain
#define sqlite3_value_frombind sqlite3_api->value_frombind
/* Version 3.30.0 and later */
#define sqlite3_drop_modules sqlite3_api->drop_modules
/* Version 3.31.0 and later */
#define sqlite3_hard_heap_limit64 sqlite3_api->hard_heap_limit64
#define sqlite3_uri_key sqlite3_api->uri_key
#define sqlite3_filename_database sqlite3_api->filename_database
#define sqlite3_filename_journal sqlite3_api->filename_journal
#define sqlite3_filename_wal sqlite3_api->filename_wal
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)