Commit e2680439 authored by unknown's avatar unknown

Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-opt

into  mysql.com:/misc/mysql/32707/50-32707


sql/protocol.cc:
  Auto merged
parents e75c58cf a5efa43c
...@@ -410,7 +410,10 @@ void net_send_error_packet(THD *thd, uint sql_errno, const char *err) ...@@ -410,7 +410,10 @@ void net_send_error_packet(THD *thd, uint sql_errno, const char *err)
{ {
NET *net= &thd->net; NET *net= &thd->net;
uint length; uint length;
char buff[MYSQL_ERRMSG_SIZE+2], *pos; /*
buff[]: sql_errno:2 + ('#':1 + SQLSTATE_LENGTH:5) + MYSQL_ERRMSG_SIZE:512
*/
char buff[2+1+SQLSTATE_LENGTH+MYSQL_ERRMSG_SIZE], *pos;
DBUG_ENTER("send_error_packet"); DBUG_ENTER("send_error_packet");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment