Commit 51d1c2ad authored by unknown's avatar unknown

tests fixes


mysql-test/lib/init_db.sql:
  this should be longblob or info_schema test will fail
mysql-test/r/rpl_delete_all.result:
  fix result of a test, the error message is different (bug #12591)
mysql-test/t/rpl_delete_all.test:
  fix test, now the error code is different (bug #12591)
parent 429e0abb
...@@ -518,7 +518,7 @@ CREATE TABLE proc ( ...@@ -518,7 +518,7 @@ CREATE TABLE proc (
security_type enum('INVOKER','DEFINER') DEFAULT 'DEFINER' NOT NULL, security_type enum('INVOKER','DEFINER') DEFAULT 'DEFINER' NOT NULL,
param_list blob DEFAULT '' NOT NULL, param_list blob DEFAULT '' NOT NULL,
returns char(64) DEFAULT '' NOT NULL, returns char(64) DEFAULT '' NOT NULL,
body blob DEFAULT '' NOT NULL, body longblob DEFAULT '' NOT NULL,
definer char(77) collate utf8_bin DEFAULT '' NOT NULL, definer char(77) collate utf8_bin DEFAULT '' NOT NULL,
created timestamp, created timestamp,
modified timestamp, modified timestamp,
......
...@@ -9,7 +9,7 @@ drop database if exists mysqltest; ...@@ -9,7 +9,7 @@ drop database if exists mysqltest;
Warnings: Warnings:
Note 1008 Can't drop database 'mysqltest'; database doesn't exist Note 1008 Can't drop database 'mysqltest'; database doesn't exist
show tables from mysqltest; show tables from mysqltest;
ERROR HY000: Can't read dir of './mysqltest/' (Errcode: X) ERROR 42000: Unknown database 'mysqltest'
create table t1 (a int); create table t1 (a int);
drop table if exists t1; drop table if exists t1;
Warnings: Warnings:
......
...@@ -7,7 +7,7 @@ drop database if exists mysqltest; ...@@ -7,7 +7,7 @@ drop database if exists mysqltest;
sync_slave_with_master; sync_slave_with_master;
# can't read dir # can't read dir
--replace_result "Errcode: 1" "Errcode: X" "Errcode: 2" "Errcode: X" \\ / --replace_result "Errcode: 1" "Errcode: X" "Errcode: 2" "Errcode: X" \\ /
--error 12 --error 1049
show tables from mysqltest; show tables from mysqltest;
connection slave; connection slave;
......
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