summaryrefslogtreecommitdiff
path: root/mysql-test/r/myisam-system.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 15:34:17 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 15:34:17 +0200
commit163882665eed8c065953bdce05aaa152b6b5df0f (patch)
tree8f537f7e5a92454ce4dee106660b0389bf2156da /mysql-test/r/myisam-system.result
parent5ad68a0d2f66b2d36f0a509c443829d58477caa2 (diff)
downloadmariadb-git-163882665eed8c065953bdce05aaa152b6b5df0f.tar.gz
* don't use 1-8 numbers for open_table_error codes, use an enum.
* print "table doesn't exist in engine" when a table doesn't exist in the engine, instead of "file not found" (if no file was involved) * print a complete filename that cannot be found ('t1.MYI', not 't1') * it's not an error for a DROP if a table doesn't exist in the engine (or some table files cannot be found) - if the DROP succeeded regardless
Diffstat (limited to 'mysql-test/r/myisam-system.result')
-rw-r--r--mysql-test/r/myisam-system.result12
1 files changed, 9 insertions, 3 deletions
diff --git a/mysql-test/r/myisam-system.result b/mysql-test/r/myisam-system.result
index 924e7885814..9d5a59459ec 100644
--- a/mysql-test/r/myisam-system.result
+++ b/mysql-test/r/myisam-system.result
@@ -2,12 +2,18 @@ drop table if exists t1,t2;
create table t1 (a int) engine=myisam;
drop table if exists t1;
Warnings:
-Warning 2 Can't find file: 't1' (errno: 2 "No such file or directory")
+Warning 2 Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
create table t1 (a int) engine=myisam;
+select * from t1;
+ERROR HY000: Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
drop table t1;
-Got one of the listed errors
+Warnings:
+Warning 2 Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
create table t1 (a int) engine=myisam;
+select * from t1;
+ERROR HY000: File './test/t1.MYD' not found (Errcode: 2 "No such file or directory")
drop table t1;
-Got one of the listed errors
+Warnings:
+Warning 2 Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
drop table t1;
ERROR 42S02: Unknown table 't1'