Commit 1bedda60 authored by hf@deer.(none)'s avatar hf@deer.(none)

Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1

into deer.(none):/home/hf/work/mysql-4.1.4014
parents 2be8bc02 da3667f6
...@@ -511,6 +511,7 @@ int check_embedded_connection(MYSQL *mysql) ...@@ -511,6 +511,7 @@ int check_embedded_connection(MYSQL *mysql)
thd->host= (char*)my_localhost; thd->host= (char*)my_localhost;
thd->host_or_ip= thd->host; thd->host_or_ip= thd->host;
thd->user= my_strdup(mysql->user, MYF(0)); thd->user= my_strdup(mysql->user, MYF(0));
thd->priv_user= thd->user;
return check_user(thd, COM_CONNECT, NULL, 0, thd->db, true); return check_user(thd, COM_CONNECT, NULL, 0, thd->db, true);
} }
......
...@@ -35,8 +35,10 @@ class Protocol ...@@ -35,8 +35,10 @@ class Protocol
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