diff options
author | thek@kpdesk.mysql.com <> | 2006-12-01 12:50:57 +0100 |
---|---|---|
committer | thek@kpdesk.mysql.com <> | 2006-12-01 12:50:57 +0100 |
commit | b201d4ef9382429b32c2da56121754014e48de01 (patch) | |
tree | 29bb4100622df30ed4d77f0bd4f727c662c48c7d /mysql-test/t/rpl_sp.test | |
parent | 294cb8432ff01b23f7aa316de462ccaf10ecf921 (diff) | |
download | mariadb-git-b201d4ef9382429b32c2da56121754014e48de01.tar.gz |
Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS"
- Refactoring of duplicate code
- Modified bad test cases
- Changed expected error when operating on information_schema.
Diffstat (limited to 'mysql-test/t/rpl_sp.test')
-rw-r--r-- | mysql-test/t/rpl_sp.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/rpl_sp.test b/mysql-test/t/rpl_sp.test index b7a9036908c..5dc4ba5a4db 100644 --- a/mysql-test/t/rpl_sp.test +++ b/mysql-test/t/rpl_sp.test @@ -524,6 +524,7 @@ sync_slave_with_master; # Bug22043: MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS" # connection master; +reset master; --disable_warnings drop database if exists mysqltest; drop database if exists mysqltest2; @@ -534,7 +535,7 @@ use mysqltest2; create table t ( t integer ); create procedure mysqltest.test() begin end; insert into t values ( 1 ); -show binlog events in 'master-bin.000001' from 8186; +show binlog events in 'master-bin.000001' from 98; --error ER_WRONG_DB_NAME create procedure `\\`.test() begin end; # Clean up |