Compare commits

...

10 Commits

Author SHA1 Message Date
Steve Dower
7ceac10d15 Add SQLite 3.36.0 sources 2021-09-16 23:20:04 +01:00
Steve Dower
1106b0e116 Merge branch 'sqlite' of https://github.com/python/cpython-source-deps into sqlite 2021-04-27 16:51:45 +01:00
Steve Dower
8a26356c27 Add SQLite 3.35.5 sources 2021-04-27 16:51:18 +01:00
Steve Dower
d7bf0265c1 Add SQLite 3.35.0 sources 2021-04-27 16:50:29 +01:00
Steve Dower
483b7288d1 Import SQLite 3.34.0 sources 2021-01-05 21:06:08 +00:00
Steve Dower
b04e151c18 Import SQLite 3.33.0 sources 2020-10-08 00:14:26 +01:00
Erlend Egeberg Aasland
7a9881195e Add SQLite 3.32.3 for CPython (#21) 2020-07-20 23:24:00 +01:00
Erlend Egeberg Aasland
ba0c59b6df Add SQLite 3.32.2 for CPython (#20) 2020-06-08 16:59:47 +01:00
Erlend Egeberg Aasland
5a455e56ea Import SQLite 3.32.1 sources 2020-05-29 19:51:04 +01:00
Erlend Egeberg Aasland
dbfc2faaa7 Add SQLite 3.31.1 for CPython bpo-38380 (GH-18) 2020-02-28 22:08:01 -06:00
4 changed files with 34320 additions and 20077 deletions

4541
shell.c

File diff suppressed because it is too large Load Diff

47497
sqlite3.c

File diff suppressed because it is too large Load Diff

2330
sqlite3.h

File diff suppressed because it is too large Load Diff

View File

@@ -324,6 +324,19 @@ struct sqlite3_api_routines {
int (*value_frombind)(sqlite3_value*); int (*value_frombind)(sqlite3_value*);
/* Version 3.30.0 and later */ /* Version 3.30.0 and later */
int (*drop_modules)(sqlite3*,const char**); 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*);
/* Version 3.32.0 and later */
char *(*create_filename)(const char*,const char*,const char*,
int,const char**);
void (*free_filename)(char*);
sqlite3_file *(*database_file_object)(const char*);
/* Version 3.34.0 and later */
int (*txn_state)(sqlite3*,const char*);
}; };
/* /*
@@ -614,10 +627,22 @@ typedef int (*sqlite3_loadext_entry)(
/* Version 3.26.0 and later */ /* Version 3.26.0 and later */
#define sqlite3_normalized_sql sqlite3_api->normalized_sql #define sqlite3_normalized_sql sqlite3_api->normalized_sql
/* Version 3.28.0 and later */ /* Version 3.28.0 and later */
#define sqlite3_stmt_isexplain sqlite3_api->isexplain #define sqlite3_stmt_isexplain sqlite3_api->stmt_isexplain
#define sqlite3_value_frombind sqlite3_api->frombind #define sqlite3_value_frombind sqlite3_api->value_frombind
/* Version 3.30.0 and later */ /* Version 3.30.0 and later */
#define sqlite3_drop_modules sqlite3_api->drop_modules #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
/* Version 3.32.0 and later */
#define sqlite3_create_filename sqlite3_api->create_filename
#define sqlite3_free_filename sqlite3_api->free_filename
#define sqlite3_database_file_object sqlite3_api->database_file_object
/* Version 3.34.0 and later */
#define sqlite3_txn_state sqlite3_api->txn_state
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)