summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-09-17 20:48:53 +0500
committerunknown <hf@deer.(none)>2003-09-17 20:48:53 +0500
commit194f6725d42a111e31fbdff2707095abd7cd1b05 (patch)
tree883748d65cbe22427001e2d6bd03ea8386ee3593 /sql/protocol.cc
parent11d36fa83101f6490f22da74f1a2b81588683f4b (diff)
downloadmariadb-git-194f6725d42a111e31fbdff2707095abd7cd1b05.tar.gz
SCRUM:
prepared statements in embedded library include/mysql.h: Another 'virtual' method libmysql/client_settings.h: client implementation declared libmysql/libmysql.c: mysql_execute edited to work with embedded implementation libmysqld/lib_sql.cc: one error fixed (we do need parameter's buffer in embedded library) embedded recordset transfer methods implementations added sql-common/client.c: method added to the table sql/client_settings.h: no prepared statements in mimiclient sql/mysql_priv.h: these functions became global sql/protocol.cc: the stub added sql/protocol.h: had to change Protocol's interface for embedded library sql/sql_class.h: i changed this only for embedded case, but i think it's better to do the same for remote server also sql/sql_prepare.cc: parts of code #ifndef-ed
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index d1eb3460fc8..edf74aee05e 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -1130,3 +1130,12 @@ bool Protocol_prep::store_time(TIME *tm)
buff[0]=(char) length; // Length is stored first
return packet->append(buff, length+1, PACKET_BUFFET_EXTRA_ALLOC);
}
+
+#ifdef EMBEDDED_LIBRARY
+/* Should be removed when we define the Protocol_cursor's future */
+bool Protocol_cursor::write()
+{
+ return Protocol_simple::write();
+}
+#endif
+