Loading libmysqld/lib_sql.cc +1 −0 Original line number Diff line number Diff line Loading @@ -511,6 +511,7 @@ int check_embedded_connection(MYSQL *mysql) thd->host= (char*)my_localhost; thd->host_or_ip= thd->host; thd->user= my_strdup(mysql->user, MYF(0)); thd->priv_user= thd->user; return check_user(thd, COM_CONNECT, NULL, 0, thd->db, true); } Loading sql/protocol.h +3 −1 Original line number Diff line number Diff line Loading @@ -35,8 +35,10 @@ class Protocol 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; Loading Loading
libmysqld/lib_sql.cc +1 −0 Original line number Diff line number Diff line Loading @@ -511,6 +511,7 @@ int check_embedded_connection(MYSQL *mysql) thd->host= (char*)my_localhost; thd->host_or_ip= thd->host; thd->user= my_strdup(mysql->user, MYF(0)); thd->priv_user= thd->user; return check_user(thd, COM_CONNECT, NULL, 0, thd->db, true); } Loading
sql/protocol.h +3 −1 Original line number Diff line number Diff line Loading @@ -35,8 +35,10 @@ class Protocol 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; Loading