Commit 12b1c4b3 authored by pem@mysql.comhem.se's avatar pem@mysql.comhem.se

Fixed BUG#5279: Stored procedure packets out of order if CHECKSUM TABLE.

parent 0c39b745
......@@ -1755,6 +1755,15 @@ where db='test' and name='bug5251' and created = @c1|
count(*)
1
drop procedure bug5251|
create procedure bug5251()
checksum table t1|
call bug5251()|
Table Checksum
test.t1 0
call bug5251()|
Table Checksum
test.t1 0
drop procedure bug5251|
drop table if exists fac|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create procedure ifac(n int unsigned)
......
......@@ -1914,6 +1914,16 @@ select count(*) from mysql.proc
drop procedure bug5251|
#
# BUG#5279: Stored procedure packets out of order if CHECKSUM TABLE
#
create procedure bug5251()
checksum table t1|
call bug5251()|
call bug5251()|
drop procedure bug5251|
#
# Some "real" examples
......
......@@ -56,6 +56,7 @@ sp_multi_results_command(enum enum_sql_command cmd)
{
switch (cmd) {
case SQLCOM_ANALYZE:
case SQLCOM_CHECKSUM:
case SQLCOM_HA_READ:
case SQLCOM_SHOW_BINLOGS:
case SQLCOM_SHOW_BINLOG_EVENTS:
......
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