2002-09-01 20:17:33 +02:00
|
|
|
#
|
|
|
|
# Test of repair table
|
|
|
|
#
|
|
|
|
|
2003-01-06 00:48:59 +01:00
|
|
|
--disable_warnings
|
2002-09-01 20:17:33 +02:00
|
|
|
drop table if exists t1;
|
2003-01-06 00:48:59 +01:00
|
|
|
--enable_warnings
|
|
|
|
|
2002-09-01 20:17:33 +02:00
|
|
|
create table t1 SELECT 1,"table 1";
|
|
|
|
repair table t1 use_frm;
|
2003-12-10 05:31:42 +01:00
|
|
|
alter table t1 ENGINE=HEAP;
|
2003-04-27 21:12:08 +02: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 00:27:26 +02: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 05:31:42 +01:00
|
|
|
create table t1 engine=myisam SELECT 1,"table 1";
|