mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
824dd7f545
mysql-test/r/repair_part1.result: Rename: mysql-test/r/repair.result -> mysql-test/r/repair_part1.result mysql-test/t/repair_part1.test: Rename: mysql-test/t/repair.test -> mysql-test/t/repair_part1.test include/sql_common.h: Declare not_error_sqlstate scripts/Makefile.am: Added back fill_help_tables.sql
22 lines
391 B
Text
22 lines
391 B
Text
#
|
|
# Test of repair table
|
|
#
|
|
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
|
|
create table t1 SELECT 1,"table 1";
|
|
repair table t1 use_frm;
|
|
alter table t1 TYPE=HEAP;
|
|
repair table t1 use_frm;
|
|
drop table t1;
|
|
|
|
# non-existent table
|
|
repair table t1 use_frm;
|
|
|
|
#
|
|
# Create test table for repair2
|
|
# The following must be last in this file
|
|
|
|
create table t1 type=myisam SELECT 1,"table 1";
|