plugins/data: Use local sqlite3 library variable.
This commit is contained in:
parent
623d0b4a90
commit
ab6a4f1b94
@ -112,9 +112,9 @@ function dbtable.set_version(filename, version)
|
||||
local result
|
||||
while result == nil do
|
||||
local status = query:step()
|
||||
if status == sqlite3.DONE then
|
||||
if status == sql.DONE then
|
||||
result = true
|
||||
elseif result ~= sqlite3.ROW then
|
||||
elseif result ~= sql.ROW then
|
||||
result = false
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user