diff options
author | hf@deer.(none) <> | 2004-06-09 22:36:48 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2004-06-09 22:36:48 +0500 |
commit | 4506aba179bb0ff80d9af03d801e7a8228b7ccc0 (patch) | |
tree | 1e5c535dd53d2210b408ac22dbeceb2f7fcd26a0 /sql/protocol.h | |
parent | 1b76aa077f260104b9710300e696a3ea6f388fd5 (diff) | |
download | mariadb-git-4506aba179bb0ff80d9af03d801e7a8228b7ccc0.tar.gz |
Fix for the bug #4014 (prepared SELECT in embedded server)
Problem is that store_string_aux calls 'wrong' net_store_data
Diffstat (limited to 'sql/protocol.h')
-rw-r--r-- | sql/protocol.h | 4 |
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; |