diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-07-14 12:24:14 +0300 |
---|---|---|
committer | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-07-14 12:24:14 +0300 |
commit | 5e92bcd3f84130b394901f4a7456cdf32c275623 (patch) | |
tree | 54b5b0ba0f289b4f1faa1b0e80258fc6c30556f1 | |
parent | 71f3c92755276c42de37d245af84e9bebfca75f1 (diff) |
Fix spelling in VACCUM
-rw-r--r-- | database/sqlite/sqlite_context.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/database/sqlite/sqlite_context.c b/database/sqlite/sqlite_context.c index dbe0ba3b13..c37612de03 100644 --- a/database/sqlite/sqlite_context.c +++ b/database/sqlite/sqlite_context.c @@ -16,7 +16,7 @@ const char *database_context_config[] = { }; const char *database_context_cleanup[] = { - "VACCUM;", + "VACUUM;", NULL }; @@ -117,15 +117,6 @@ void sql_close_context_database(void) return; } -static int bind_text_null(sqlite3_stmt *res, int position, const char *text, bool can_be_null) -{ - if (likely(text)) - return sqlite3_bind_text(res, position, text, -1, SQLITE_STATIC); - if (!can_be_null) - return 1; - return sqlite3_bind_null(res, position); -} - // // Fetching data // |