summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/common/database.lua
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-01 04:04:37 -0500
committerPeter Kozak <spag@golwen.net>2013-03-01 04:04:37 -0500
commit0bb03f2159503613d21f09e5b7fc90fb1252828a (patch)
treeab061c32527fee835d3bd72a402f376ecfcca167 /misc/freeswitch/scripts/common/database.lua
parent351fdd558c7a14b2a9fd7992ade8adebe71f4688 (diff)
ignore_on_update table fixed
Diffstat (limited to 'misc/freeswitch/scripts/common/database.lua')
-rw-r--r--misc/freeswitch/scripts/common/database.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/common/database.lua b/misc/freeswitch/scripts/common/database.lua
index 345f69d..8aed1ac 100644
--- a/misc/freeswitch/scripts/common/database.lua
+++ b/misc/freeswitch/scripts/common/database.lua
@@ -72,7 +72,7 @@ function Database.last_insert_id(self)
end
-function Database.insert_or_update(self, db_table, record, use_on_update)
+function Database.insert_or_update(self, db_table, record, ignore_on_update)
ignore_on_update = ignore_on_update or self.ignore_on_update;
local record_sql_create = {};
local record_sql_update = {};