mirror of
https://github.com/holub/mame
synced 2025-07-06 02:18:09 +03:00
plugins/data: fixed table lookup (nw)
This commit is contained in:
parent
49ec473b6c
commit
f911ab2869
@ -12,7 +12,7 @@ end
|
|||||||
|
|
||||||
if db then
|
if db then
|
||||||
local found = false
|
local found = false
|
||||||
db:exec("select * from sqlite_master where name = version", function() found = true return 0 end)
|
db:exec("select * from sqlite_master where name = 'version'", function() found = true return 0 end)
|
||||||
if not found then
|
if not found then
|
||||||
db:exec([[
|
db:exec([[
|
||||||
CREATE TABLE version (
|
CREATE TABLE version (
|
||||||
|
Loading…
Reference in New Issue
Block a user