2002-09-01 18:17:33 +00:00
|
|
|
#
|
|
|
|
# Test of repair table
|
|
|
|
#
|
|
|
|
|
2003-01-06 01:48:59 +02:00
|
|
|
--disable_warnings
|
2002-09-01 18:17:33 +00:00
|
|
|
drop table if exists t1;
|
2003-01-06 01:48:59 +02:00
|
|
|
--enable_warnings
|
|
|
|
|
2002-09-01 18:17:33 +00:00
|
|
|
create table t1 SELECT 1,"table 1";
|
|
|
|
repair table t1 use_frm;
|
2003-12-10 04:31:42 +00:00
|
|
|
alter table t1 ENGINE=HEAP;
|
2003-04-27 22:12:08 +03:00
|
|
|
repair table t1 use_frm;
|
|
|
|
drop table t1;
|
2003-05-03 15:21:39 +02:00
|
|
|
|
|
|
|
# non-existent table
|
|
|
|
repair table t1 use_frm;
|
|
|
|
|
2003-05-14 01:27:26 +03:00
|
|
|
#
|
|
|
|
# Create test table for repair2
|
|
|
|
# The following must be last in this file
|
2003-05-03 15:21:39 +02:00
|
|
|
|
2003-12-10 04:31:42 +00:00
|
|
|
create table t1 engine=myisam SELECT 1,"table 1";
|