mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +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
|
||||
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
|
||||
db:exec([[
|
||||
CREATE TABLE version (
|
||||
|
Loading…
Reference in New Issue
Block a user