1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Merge example.com:/work/bug24219/my41

into  example.com:/work/bug24219/my50
This commit is contained in:
andrey@example.com
2006-11-16 13:46:43 +01:00
2 changed files with 40 additions and 11 deletions

View File

@@ -402,6 +402,24 @@ alter table test.t1 rename test.t1;
use test;
drop table t1;
#
# Bug#24219 - ALTER TABLE ... RENAME TO ... , DISABLE KEYS leads to crash
#
--disable_warnings
DROP TABLE IF EXISTS bug24219;
DROP TABLE IF EXISTS bug24219_2;
--enable_warnings
CREATE TABLE bug24219 (a INT, INDEX(a));
SHOW INDEX FROM bug24219;
ALTER TABLE bug24219 RENAME TO bug24219_2, DISABLE KEYS;
SHOW INDEX FROM bug24219_2;
DROP TABLE bug24219_2;
# End of 4.1 tests
#