1
0
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:
peter@mysql.com
2002-10-06 13:43:42 +04:00
50 changed files with 1355 additions and 849 deletions

View File

@ -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);