summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-04-09 07:12:41 +0300
committermonty@mysql.com <>2004-04-09 07:12:41 +0300
commitf96c4941d8244743ca74b133fe5fe814a52c5001 (patch)
treeb87b57af080028a2afcfb4f98e8339b2b78c6b46 /mysql-test
parent0ade40177780e59957477db6bf251baac8f25899 (diff)
downloadmariadb-git-f96c4941d8244743ca74b133fe5fe814a52c5001.tar.gz
Fixed problems noticed with last build
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/lowercase_table2.result2
-rw-r--r--mysql-test/r/repair.result1
-rw-r--r--mysql-test/t/repair.test1
3 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/r/lowercase_table2.result b/mysql-test/r/lowercase_table2.result
index c29d52ffffc..d43a18c6a96 100644
--- a/mysql-test/r/lowercase_table2.result
+++ b/mysql-test/r/lowercase_table2.result
@@ -68,7 +68,7 @@ SHOW CREATE TABLE T1;
Table Create Table
T1 CREATE TABLE `T1` (
`a` int(11) default NULL
-) ENGINE=InnoDB DEFAULT CHARSET=latin
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
RENAME TABLE T1 TO T2;
SHOW TABLES LIKE "T2";
Tables_in_test (T2)
diff --git a/mysql-test/r/repair.result b/mysql-test/r/repair.result
index 2398e13b8e3..f81bbd063ea 100644
--- a/mysql-test/r/repair.result
+++ b/mysql-test/r/repair.result
@@ -28,6 +28,7 @@ repair table t1 use_frm;
Table Op Msg_type Msg_text
test.t1 repair error Table 'test.t1' doesn't exist
create table t1 engine=myisam SELECT 1,"table 1";
+flush tables;
repair table t1;
Table Op Msg_type Msg_text
test.t1 repair error Can't open file: 't1.MYI' (errno: 130)
diff --git a/mysql-test/t/repair.test b/mysql-test/t/repair.test
index 83a302e6f29..ef7043febbc 100644
--- a/mysql-test/t/repair.test
+++ b/mysql-test/t/repair.test
@@ -28,6 +28,7 @@ drop table t1;
repair table t1 use_frm;
create table t1 engine=myisam SELECT 1,"table 1";
+flush tables;
system echo 1 > $MYSQL_TEST_DIR/var/master-data/test/t1.MYI ;
repair table t1;
repair table t1 use_frm;