summaryrefslogtreecommitdiff
path: root/mysql-test/r/myisam.result
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-02-21 20:41:48 +0200
committerunknown <monty@mysql.com>2005-02-21 20:41:48 +0200
commit8cb6031dd763cbf6dd16e147430dcc4337907f0d (patch)
tree19da946b683ea88a6897b8cf0ec4535e791b43f1 /mysql-test/r/myisam.result
parentac1852b4038bdb54caf9f14008380a945054cca9 (diff)
downloadmariadb-git-8cb6031dd763cbf6dd16e147430dcc4337907f0d.tar.gz
Generate warning in ha_delete_table() if files is missing in handler
mysql-test/r/myisam.result: Test of DROP TABLE when .MYI or .MYD is missing mysql-test/r/ndb_autodiscover.result: Update test results mysql-test/r/rpl_EE_error.result: Change test to conform with new handling of drop table when handler file is missing mysql-test/t/myisam.test: Test of DROP TABLE when .MYI or .MYD is missing mysql-test/t/rpl_EE_error.test: Change test to conform with new handling of drop table when handler file is missing sql/handler.cc: Generate a warning in ha_delete_table() if we get an error from 'delete_table()' sql/handler.h: More parameters to ha_delete_table() so that we can generate better error messages sql/sql_table.cc: Generate warning in ha_delete_table()
Diffstat (limited to 'mysql-test/r/myisam.result')
-rw-r--r--mysql-test/r/myisam.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result
index 138cae5cadd..01aca27d4fc 100644
--- a/mysql-test/r/myisam.result
+++ b/mysql-test/r/myisam.result
@@ -1150,3 +1150,15 @@ drop table t1;
set storage_engine=MyISAM;
create table t1 (v varchar(65535));
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
+create table t1 (a int) engine=myisam;
+drop table if exists t1;
+Warnings:
+Error 2 Can't find file: 't1' (errno: 2)
+create table t1 (a int) engine=myisam;
+drop table t1;
+ERROR 42S02: Unknown table 't1'
+create table t1 (a int) engine=myisam;
+drop table t1;
+ERROR HY000: File './test/t1.MYD' not found (Errcode: 2)
+drop table t1;
+ERROR 42S02: Unknown table 't1'