summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-09-18 12:25:00 +0500
committerunknown <hf@deer.(none)>2003-09-18 12:25:00 +0500
commitbfb441a5bfe17222e09c05e94c24a11da57e53e7 (patch)
treefaa8a819d28509f6d514615b085cffbca009dd3d /include
parentee7f8d15db181e4435e102792c767b70c358fbaf (diff)
downloadmariadb-git-bfb441a5bfe17222e09c05e94c24a11da57e53e7.tar.gz
SCRUM
prepared statements in embedded library include/mysql_com.h: to make net_flush() working in expressions libmysqld/lib_sql.cc: some bugs fixed libmysqld/libmysqld.c: we already have the define in client_settings.h sql/protocol.cc: net_store_data should work that way in Protocol_prep (embedded server) sql/protocol.h: definition for net_store_data sql/sql_prepare.cc: now it works in embedded library
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index d5a70e4dfe8..4d2b9d7cdce 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -245,7 +245,7 @@ my_bool net_realloc(NET *net, unsigned long length);
#ifndef EMBEDDED_LIBRARY /* To be removed by HF */
my_bool net_flush(NET *net);
#else
-#define net_flush(A)
+#define net_flush(A) ((my_bool)0)
#endif
my_bool my_net_write(NET *net,const char *packet,unsigned long len);