Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.1438
This commit is contained in:
commit
0ac37473f9
@ -689,7 +689,10 @@ send_ok(THD *thd,ha_rows affected_rows,ulonglong id,const char *message)
|
|||||||
mysql->affected_rows= affected_rows;
|
mysql->affected_rows= affected_rows;
|
||||||
mysql->insert_id= id;
|
mysql->insert_id= id;
|
||||||
if (message)
|
if (message)
|
||||||
|
{
|
||||||
strmake(thd->net.last_error, message, sizeof(thd->net.last_error)-1);
|
strmake(thd->net.last_error, message, sizeof(thd->net.last_error)-1);
|
||||||
|
mysql->info= thd->net.last_error;
|
||||||
|
}
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user