summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index 43230983db7..d7ce5425ad1 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -35,8 +35,10 @@ protected:
enum enum_field_types *field_types;
#endif
uint field_count;
+#ifndef EMBEDDED_LIBRARY
bool net_store_data(const char *from, uint length);
-#ifdef EMBEDDED_LIBRARY
+#else
+ virtual bool net_store_data(const char *from, uint length);
char **next_field;
MYSQL_FIELD *next_mysql_field;
MEM_ROOT *alloc;