dbd/db2/connection.c

changeset 22
fd78e9cdc6e9
parent 16
318e5dfd03b8
child 23
a4825c3e65e9
--- a/dbd/db2/connection.c	Fri Dec 19 09:17:16 2008 +0000
+++ b/dbd/db2/connection.c	Sat Dec 20 02:37:22 2008 +0000
@@ -197,6 +197,14 @@
 }
 
 /*
+ * quoted = connection:quote(str)
+ */
+static int connection_quote(lua_State *L) {
+    luaL_error(L, DBI_ERR_NOT_IMPLEMENTED, DBD_DB2_CONNECTION, "quote");
+    return 0;
+}
+
+/*
  * success = connection:rollback()
  */
 static int connection_rollback(lua_State *L) {
@@ -228,6 +236,7 @@
 	{"commit", connection_commit},
 	{"ping", connection_ping},
 	{"prepare", connection_prepare},
+	{"quote", connection_quote},
 	{"rollback", connection_rollback},
 	{NULL, NULL}
     };

mercurial