Skip to content

Commit

Permalink
Imported upstream sources, v3.32.1
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed May 26, 2020
1 parent 0860d30 commit 29deb0f
Show file tree
Hide file tree
Showing 8 changed files with 37,614 additions and 18,615 deletions.
3,189 changes: 2,768 additions & 421 deletions dist/orig/shell.c

Large diffs are not rendered by default.

24,012 changes: 15,375 additions & 8,637 deletions dist/orig/sqlite3.c

Large diffs are not rendered by default.

865 changes: 640 additions & 225 deletions dist/orig/sqlite3.h

Large diffs are not rendered by default.

29 changes: 27 additions & 2 deletions dist/orig/sqlite3ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,19 @@ 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*);
/* 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*);
};

/*
Expand Down Expand Up @@ -612,8 +625,20 @@ 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
/* 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
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */

#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
Expand Down
Loading

0 comments on commit 29deb0f

Please sign in to comment.