mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
SCRUM
merged conflicts about my previous commit it seems there are some errors left - gonna check...
This commit is contained in:
@ -103,8 +103,7 @@ void send_error(THD *thd, uint sql_errno, const char *err)
|
||||
{
|
||||
/* The first # is to make the protocol backward compatible */
|
||||
buff[2]= '#';
|
||||
strmov(buff+3, mysql_errno_to_sqlstate(sql_errno));
|
||||
pos= buff + 2 + SQLSTATE_LENGTH +1;
|
||||
pos= strmov(buff+3, mysql_errno_to_sqlstate(sql_errno));
|
||||
}
|
||||
length= (uint) (strmake(pos, err, MYSQL_ERRMSG_SIZE-1) - buff);
|
||||
err=buff;
|
||||
|
Reference in New Issue
Block a user