Commit b67706b1 authored by unknown's avatar unknown

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

into deer.(none):/home/hf/work/mysql-4.1.4014

parents e914e6c7 c56613fb
...@@ -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 @@ 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