summaryrefslogtreecommitdiff
path: root/lib/dblib.lua
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-11-30 02:10:04 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-11-30 02:10:04 +0100
commit5bbcb92dce2be398dac702d40b2600b0830e3ec3 (patch)
treea0157dccf13b8fb47e064a7ef8b739afda128d08 /lib/dblib.lua
parent7d9d62685fa141bacc34e795386ef567aa574ecb (diff)
Fixing a couple of typos.
Diffstat (limited to 'lib/dblib.lua')
-rw-r--r--lib/dblib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dblib.lua b/lib/dblib.lua
index 64ce880..c9dd30c 100644
--- a/lib/dblib.lua
+++ b/lib/dblib.lua
@@ -623,7 +623,7 @@ END;
end
end
if not bypass and not is_foreign and not t._.ddl[v] then
- error("Trying to select a field which doesn't exist: " .. k .. " - inside of table " .. t._.tablename)
+ error("Trying to select a field which doesn't exist: " .. v .. " - inside of table " .. t._.tablename)
end
if not first then
stmt = stmt .. ", "