aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_sqlite3.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-23 16:37:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-23 16:37:16 +0100
commitc15fd65bc3e7f447a816e9539afa92f444f53480 (patch)
treef4febdf6bf08508df7e2fe92f152c2e399c8791e /src/lua/lua_sqlite3.c
parent7657cc4be6d681b05f13042176283376c2a0d601 (diff)
downloadrspamd-c15fd65bc3e7f447a816e9539afa92f444f53480.tar.gz
rspamd-c15fd65bc3e7f447a816e9539afa92f444f53480.zip
[Feature] Allow versioning for sqlite databases
Diffstat (limited to 'src/lua/lua_sqlite3.c')
-rw-r--r--src/lua/lua_sqlite3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_sqlite3.c b/src/lua/lua_sqlite3.c
index ca8481117..e15673702 100644
--- a/src/lua/lua_sqlite3.c
+++ b/src/lua/lua_sqlite3.c
@@ -98,7 +98,7 @@ lua_sqlite3_open (lua_State *L)
return 1;
}
- db = rspamd_sqlite3_open_or_create (NULL, path, NULL, &err);
+ db = rspamd_sqlite3_open_or_create (NULL, path, NULL, 0, &err);
if (db == NULL) {
if (err) {