mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
13a23a879f
Fix for USE_FRM and crashed index file configure.in: Fix for MacOSX and symlinks myisam/mi_open.c: Give better error message in case of of crashed index file mysql-test/r/repair.result: new test case mysql-test/r/update.result: new test case mysql-test/t/repair.test: Added test with crashed MyISAM index header mysql-test/t/update.test: Added test case from bugs system sql/handler.cc: Indentation changes sql/sql_table.cc: Fix for USE_FRM and crashed index file
19 lines
353 B
Text
19 lines
353 B
Text
#
|
|
# Test of repair table
|
|
#
|
|
|
|
drop table if exists t1;
|
|
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";
|