mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-forcollapseandmerge
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
This commit is contained in:
@ -97,6 +97,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
|
||||
thd->current_stmt= stmt;
|
||||
|
||||
thd->store_globals(); // Fix if more than one connect
|
||||
lex_start(thd);
|
||||
/*
|
||||
We have to call free_old_query before we start to fill mysql->fields
|
||||
for new query. In the case of embedded server we collect field data
|
||||
@ -587,6 +588,7 @@ void *create_embedded_thd(int client_flag)
|
||||
fprintf(stderr,"store_globals failed.\n");
|
||||
goto err;
|
||||
}
|
||||
lex_start(thd);
|
||||
|
||||
/* TODO - add init_connect command execution */
|
||||
|
||||
|
Reference in New Issue
Block a user