Commit b6402bd4 authored by lars@mysql.com's avatar lars@mysql.com

BUG#6883: Merge fixes

parent 0610e204
...@@ -1637,16 +1637,14 @@ t2 CREATE TABLE `t2` ( ...@@ -1637,16 +1637,14 @@ t2 CREATE TABLE `t2` (
drop table t2, t1; drop table t2, t1;
show status like "binlog_cache_use"; show status like "binlog_cache_use";
Variable_name Value Variable_name Value
Binlog_cache_use 24 Binlog_cache_use 155
Binlog_cache_use 25
show status like "binlog_cache_disk_use"; show status like "binlog_cache_disk_use";
Variable_name Value Variable_name Value
Binlog_cache_disk_use 0 Binlog_cache_disk_use 0
create table t1 (a int) engine=innodb; create table t1 (a int) engine=innodb;
show status like "binlog_cache_use"; show status like "binlog_cache_use";
Variable_name Value Variable_name Value
Binlog_cache_use 25 Binlog_cache_use 156
Binlog_cache_use 26
show status like "binlog_cache_disk_use"; show status like "binlog_cache_disk_use";
Variable_name Value Variable_name Value
Binlog_cache_disk_use 1 Binlog_cache_disk_use 1
...@@ -1655,8 +1653,7 @@ delete from t1; ...@@ -1655,8 +1653,7 @@ delete from t1;
commit; commit;
show status like "binlog_cache_use"; show status like "binlog_cache_use";
Variable_name Value Variable_name Value
Binlog_cache_use 26 Binlog_cache_use 157
Binlog_cache_use 27
show status like "binlog_cache_disk_use"; show status like "binlog_cache_disk_use";
Variable_name Value Variable_name Value
Binlog_cache_disk_use 1 Binlog_cache_disk_use 1
......
This diff is collapsed.
...@@ -7,16 +7,12 @@ end| ...@@ -7,16 +7,12 @@ end|
set autocommit=0| set autocommit=0|
insert t1 values (2)| insert t1 values (2)|
call bug8850()| call bug8850()|
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
commit| commit|
select * from t1| select * from t1|
a a
2
call bug8850()| call bug8850()|
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
set autocommit=1| set autocommit=1|
select * from t1| select * from t1|
a a
2
drop table t1| drop table t1|
drop procedure bug8850| drop procedure bug8850|
...@@ -20,14 +20,10 @@ end| ...@@ -20,14 +20,10 @@ end|
set autocommit=0| set autocommit=0|
insert t1 values (2)| insert t1 values (2)|
--error 1192
call bug8850()| call bug8850()|
commit| commit|
select * from t1| select * from t1|
#
# when CALL will be fixed to not start a transaction, the error should
# go away
--error 1192
call bug8850()| call bug8850()|
set autocommit=1| set autocommit=1|
select * from t1| select * from t1|
......
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