Commit 51d1c2ad authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -518,7 +518,7 @@ CREATE TABLE proc (
  security_type     enum('INVOKER','DEFINER') DEFAULT 'DEFINER' NOT NULL,
  param_list        blob 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,
  created           timestamp,
  modified          timestamp,
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ drop database if exists mysqltest;
Warnings:
Note	1008	Can't drop database 'mysqltest'; database doesn't exist
show tables from mysqltest;
ERROR HY000: Can't read dir of './mysqltest/' (Errcode: X)
ERROR 42000: Unknown database 'mysqltest'
create table t1 (a int);
drop table if exists t1;
Warnings:
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ drop database if exists mysqltest;
sync_slave_with_master;
# can't read dir
--replace_result "Errcode: 1" "Errcode: X" "Errcode: 2" "Errcode: X" \\ /
--error 12
--error 1049
show tables from mysqltest;

connection slave;