mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
into mysql.com:/home/pz/mysql/mysql-4.1
This commit is contained in:
@ -1648,6 +1648,7 @@ static int my_message_sql(uint error, const char *str,
|
||||
if ((thd=current_thd))
|
||||
{
|
||||
NET *net= &thd->net;
|
||||
net->report_error= 1;
|
||||
if (!net->last_error[0]) // Return only first message
|
||||
{
|
||||
strmake(net->last_error,str,sizeof(net->last_error)-1);
|
||||
|
Reference in New Issue
Block a user