Commit 199e195d authored by unknown's avatar unknown
Browse files

Bug#8306 - TRUNCATE leads to index corruption

After merge fix.
The bugfix results in a different error message in this situation.

parent cc445563
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ create table mysqltest.t9 (a int not null auto_increment, b char(16) not null, p
create table mysqltest.t9 (a int not null auto_increment, b char(16) not null, primary key (a)) engine=myisam index directory="not-hard-path";

# Should fail becasue the file t9.MYI already exist in 'run'
--error 1,1
--error 1,1,1105
eval create table mysqltest.t9 (a int not null auto_increment, b char(16) not null, primary key (a)) engine=myisam index directory="$MYSQL_TEST_DIR/var/run";

# Should fail becasue the file t9.MYD already exist in 'tmp'