diff --git a/libstuff/sqlite3.c b/libstuff/sqlite3.c index f32ab486d..e023a216d 100644 --- a/libstuff/sqlite3.c +++ b/libstuff/sqlite3.c @@ -18,7 +18,7 @@ ** separate file. This file contains only code for the core SQLite library. ** ** The content in this amalgamation comes from Fossil check-in -** d826236e22234bd0ab7888d26f2f2eeb8f10. +** 8362edb45b993f8467b464ca0491ef347c82. */ #define SQLITE_CORE 1 #define SQLITE_AMALGAMATION 1 @@ -462,7 +462,7 @@ extern "C" { */ #define SQLITE_VERSION "3.45.2" #define SQLITE_VERSION_NUMBER 3045002 -#define SQLITE_SOURCE_ID "2024-06-24 15:05:28 d826236e22234bd0ab7888d26f2f2eeb8f109099c8936b62dedf6597df386e45" +#define SQLITE_SOURCE_ID "2024-06-26 16:33:49 8362edb45b993f8467b464ca0491ef347c8215ea2e65504f7b3d1f7232eb3c63" /* ** CAPI3REF: Run-Time Library Version Numbers diff --git a/libstuff/sqlite3.h b/libstuff/sqlite3.h index 86fcdc620..b82acd03e 100644 --- a/libstuff/sqlite3.h +++ b/libstuff/sqlite3.h @@ -148,7 +148,7 @@ extern "C" { */ #define SQLITE_VERSION "3.45.2" #define SQLITE_VERSION_NUMBER 3045002 -#define SQLITE_SOURCE_ID "2024-06-24 15:05:28 d826236e22234bd0ab7888d26f2f2eeb8f109099c8936b62dedf6597df386e45" +#define SQLITE_SOURCE_ID "2024-06-26 16:33:49 8362edb45b993f8467b464ca0491ef347c8215ea2e65504f7b3d1f7232eb3c63" /* ** CAPI3REF: Run-Time Library Version Numbers diff --git a/libstuff/sqlite3ext.h b/libstuff/sqlite3ext.h index 711638099..ae0949baf 100644 --- a/libstuff/sqlite3ext.h +++ b/libstuff/sqlite3ext.h @@ -363,6 +363,9 @@ struct sqlite3_api_routines { int (*is_interrupted)(sqlite3*); /* Version 3.43.0 and later */ int (*stmt_explain)(sqlite3_stmt*,int); + /* Version 3.44.0 and later */ + void *(*get_clientdata)(sqlite3*,const char*); + int (*set_clientdata)(sqlite3*, const char*, void*, void(*)(void*)); }; /* @@ -693,6 +696,9 @@ typedef int (*sqlite3_loadext_entry)( #define sqlite3_is_interrupted sqlite3_api->is_interrupted /* Version 3.43.0 and later */ #define sqlite3_stmt_explain sqlite3_api->stmt_explain +/* Version 3.44.0 and later */ +#define sqlite3_get_clientdata sqlite3_api->get_clientdata +#define sqlite3_set_clientdata sqlite3_api->set_clientdata #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)