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
|
local result
|
||||||
while result == nil do
|
while result == nil do
|
||||||
local status = query:step()
|
local status = query:step()
|
||||||
if status == sqlite3.DONE then
|
if status == sql.DONE then
|
||||||
result = true
|
result = true
|
||||||
elseif result ~= sqlite3.ROW then
|
elseif result ~= sql.ROW then
|
||||||
result = false
|
result = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user