Fixed in-memory database not being detected (refs #46)

This commit is contained in:
Timo Smit 2017-02-08 22:51:12 +01:00
parent 77eaec7ef9
commit 3954583bc5

View file

@ -504,7 +504,7 @@ end
function sqlite3.start()
local uri, file = nil, settings.get("db_file")
if string.find(file, ":memory:?cache=shared") then
if string.find(file, ":memory:%?cache=shared") then
uri = file
else
uri = wolfa_getHomePath()..file