Commit 4506aba1 authored by hf@deer.(none)'s avatar hf@deer.(none)

Fix for the bug #4014 (prepared SELECT in embedded server)

Problem is that store_string_aux calls 'wrong' net_store_data
parent 1b76aa07
...@@ -35,8 +35,10 @@ protected: ...@@ -35,8 +35,10 @@ protected:
enum enum_field_types *field_types; enum enum_field_types *field_types;
#endif #endif
uint field_count; uint field_count;
#ifndef EMBEDDED_LIBRARY
bool net_store_data(const char *from, uint length); 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; char **next_field;
MYSQL_FIELD *next_mysql_field; MYSQL_FIELD *next_mysql_field;
MEM_ROOT *alloc; MEM_ROOT *alloc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment