summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index 25efecab712..079c06ae155 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -18,7 +18,6 @@
#pragma interface /* gcc class implementation */
#endif
-#define PACKET_BUFFET_EXTRA_ALLOC 1024
class i_string;
class THD;
@@ -36,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;