Skip to content

Commit 804efc1

Browse files
authored
Merge pull request #816 from tursodatabase/fixjustforpekka
libsql-sqlite3: initialize libsqlApi properly
2 parents 52814a9 + 802a961 commit 804efc1

File tree

3 files changed

+744
-2
lines changed

3 files changed

+744
-2
lines changed

libsql-ffi/bundled/src/sqlite3.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -137437,7 +137437,9 @@ static const sqlite3_api_routines sqlite3Apis = {
137437137437
sqlite3_set_clientdata
137438137438
};
137439137439

137440-
static const libsql_api_routines libsqlApis = { };
137440+
static const libsql_api_routines libsqlApis = {
137441+
libsql_close_hook,
137442+
};
137441137443
/* True if x is the directory separator character
137442137444
*/
137443137445
#if SQLITE_OS_WIN

0 commit comments

Comments
 (0)