1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

embedded-mode tests fixed

This commit is contained in:
holyfoot/hf@mysql.com/deer.(none)
2006-11-13 10:39:15 +04:00
parent c7866bd569
commit 6e0045ed20
4 changed files with 12 additions and 1 deletions

View File

@ -517,6 +517,7 @@ void *create_embedded_thd(int client_flag)
thd->set_time();
thd->init_for_queries();
thd->client_capabilities= client_flag;
thd->real_id= (pthread_t) thd;
thd->db= NULL;
thd->db_length= 0;
@ -815,6 +816,9 @@ void Protocol_simple::prepare_for_resend()
DBUG_ENTER("send_data");
if (!thd->mysql) // bootstrap file handling
DBUG_VOID_RETURN;
if (!data)
{
if (!(data= (MYSQL_DATA*) my_malloc(sizeof(MYSQL_DATA),