Commit 366186dd authored by unknown's avatar unknown

Merge lgrimmer@work.mysql.com:/home/bk/mysql

into mysql.com:/space/my/mysql-3.23
parents 088f761d 9069853e
...@@ -768,8 +768,8 @@ bool do_command(THD *thd) ...@@ -768,8 +768,8 @@ bool do_command(THD *thd)
thread_safe_increment(com_other,&LOCK_thread_count); thread_safe_increment(com_other,&LOCK_thread_count);
slow_command = TRUE; slow_command = TRUE;
char* data = packet + 1; char* data = packet + 1;
uint db_len = *data; uint db_len = *(uchar *)data;
uint tbl_len = *(data + db_len + 1); uint tbl_len = *(uchar *)(data + db_len + 1);
char* db = sql_alloc(db_len + tbl_len + 2); char* db = sql_alloc(db_len + tbl_len + 2);
memcpy(db, data + 1, db_len); memcpy(db, data + 1, db_len);
char* tbl_name = db + db_len; char* tbl_name = db + db_len;
......
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