Commit 65f867ef authored by Ted Trask's avatar Ted Trask

Bump version to 0.1.2

parent 88e2a9a7
APP_NAME=db
PACKAGE=acf-$(APP_NAME)
VERSION=0.1.1
VERSION=0.1.2
APP_DIST=db* \
......
......@@ -104,15 +104,16 @@ function mymodule.list_table_entries(dbase, self, clientdata)
local tables = db.listtables()
retval.value.table.errtxt = "Table does not exist"
retval.errtxt = "Table does not exist"
for i,t in ipairs(tables) do
if t == retval.value.table.value then
-- for i,t in ipairs(tables) do
-- if t == retval.value.table.value then
local t = retval.value.table.value
retval.value.table.errtxt = nil
retval.errtxt = nil
retval.value.fields.value = db.listcolumns(t) or {}
retval.value.keyfields.value = db.listkeycolumns(t) or {}
retval.value.entries.value = db.getselectresponse("SELECT * FROM "..db.escape(t)) or {}
end
end
-- end
-- end
if connected then db.databasedisconnect() end
end)
if not res and err then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment