Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit 29deb0f

Browse files
committed
Imported upstream sources, v3.32.1
1 parent 0860d30 commit 29deb0f

File tree

8 files changed

+37614
-18615
lines changed

8 files changed

+37614
-18615
lines changed

dist/orig/shell.c

Lines changed: 2768 additions & 421 deletions
Large diffs are not rendered by default.

dist/orig/sqlite3.c

Lines changed: 15375 additions & 8637 deletions
Large diffs are not rendered by default.

dist/orig/sqlite3.h

Lines changed: 640 additions & 225 deletions
Large diffs are not rendered by default.

dist/orig/sqlite3ext.h

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,19 @@ struct sqlite3_api_routines {
322322
/* Version 3.28.0 and later */
323323
int (*stmt_isexplain)(sqlite3_stmt*);
324324
int (*value_frombind)(sqlite3_value*);
325+
/* Version 3.30.0 and later */
326+
int (*drop_modules)(sqlite3*,const char**);
327+
/* Version 3.31.0 and later */
328+
sqlite3_int64 (*hard_heap_limit64)(sqlite3_int64);
329+
const char *(*uri_key)(const char*,int);
330+
const char *(*filename_database)(const char*);
331+
const char *(*filename_journal)(const char*);
332+
const char *(*filename_wal)(const char*);
333+
/* Version 3.32.0 and later */
334+
char *(*create_filename)(const char*,const char*,const char*,
335+
int,const char**);
336+
void (*free_filename)(char*);
337+
sqlite3_file *(*database_file_object)(const char*);
325338
};
326339

327340
/*
@@ -612,8 +625,20 @@ typedef int (*sqlite3_loadext_entry)(
612625
/* Version 3.26.0 and later */
613626
#define sqlite3_normalized_sql sqlite3_api->normalized_sql
614627
/* Version 3.28.0 and later */
615-
#define sqlite3_stmt_isexplain sqlite3_api->isexplain
616-
#define sqlite3_value_frombind sqlite3_api->frombind
628+
#define sqlite3_stmt_isexplain sqlite3_api->stmt_isexplain
629+
#define sqlite3_value_frombind sqlite3_api->value_frombind
630+
/* Version 3.30.0 and later */
631+
#define sqlite3_drop_modules sqlite3_api->drop_modules
632+
/* Version 3.31.0 and later */
633+
#define sqlite3_hard_heap_limit64 sqlite3_api->hard_heap_limit64
634+
#define sqlite3_uri_key sqlite3_api->uri_key
635+
#define sqlite3_filename_database sqlite3_api->filename_database
636+
#define sqlite3_filename_journal sqlite3_api->filename_journal
637+
#define sqlite3_filename_wal sqlite3_api->filename_wal
638+
/* Version 3.32.0 and later */
639+
#define sqlite3_create_filename sqlite3_api->create_filename
640+
#define sqlite3_free_filename sqlite3_api->free_filename
641+
#define sqlite3_database_file_object sqlite3_api->database_file_object
617642
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
618643

619644
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)

0 commit comments

Comments
 (0)