1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

post-review fixes

HA_EXTRA_WRITE_CACHE now part of start_bulk_insert()
test cleanups
This commit is contained in:
serg@serg.mylan
2004-04-07 16:04:28 +02:00
parent e8eda8129f
commit 6fc74e13e7
16 changed files with 57 additions and 88 deletions

View File

@ -523,7 +523,8 @@ Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_par
t1 1 a 1 a A 1000 NULL NULL YES BTREE
alter table t1 engine=heap;
alter table t1 disable keys;
ERROR HY000: Table storage engine for 't1' doesn't have this option
Warnings:
Note 1031 Table storage engine for 't1' doesn't have this option
show keys from t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
t1 1 a 1 a NULL NULL NULL NULL YES HASH

View File

@ -28,3 +28,11 @@ repair table t1 use_frm;
Table Op Msg_type Msg_text
test.t1 repair error Table 'test.t1' doesn't exist
create table t1 engine=myisam SELECT 1,"table 1";
repair table t1;
Table Op Msg_type Msg_text
test.t1 repair error Can't open file: 't1.MYI' (errno: 130)
repair table t1 use_frm;
Table Op Msg_type Msg_text
test.t1 repair warning Number of rows changed from 0 to 1
test.t1 repair status OK
drop table t1;

View File

@ -1,8 +0,0 @@
repair table t1;
Table Op Msg_type Msg_text
test.t1 repair error Can't open file: 't1.MYI' (errno: 130)
repair table t1 use_frm;
Table Op Msg_type Msg_text
test.t1 repair warning Number of rows changed from 0 to 1
test.t1 repair status OK
drop table t1;

View File

@ -1,6 +1,6 @@
#
# Test of --lower-case-table-names=2
# (User has case insensitive file system and want's to preserve case of
# (User has case insensitive file system and wants to preserve case of
# table names)
#
--source include/have_innodb.inc

View File

@ -1,6 +1,6 @@
#
# Test of force of lower-case-table-names=0
# (User has case insensitive file system and want's to preserve case of
# (User has case insensitive file system and wants to preserve case of
# table names)
#

View File

@ -26,4 +26,4 @@ select * from MySQL.db;
enable_result_log;
show status like "Qcache_queries_in_cache";
set GLOBAL query_cache_size=0;
set GLOBAL query_cache_size=0;

View File

@ -498,7 +498,6 @@ show keys from t1;
alter table t1 enable keys;
show keys from t1;
alter table t1 engine=heap;
--error 1031
alter table t1 disable keys;
show keys from t1;
drop table t1,t2;

View File

@ -27,8 +27,8 @@ 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 engine=myisam SELECT 1,"table 1";
system echo 1 > $MYSQL_TEST_DIR/var/master-data/test/t1.MYI ;
repair table t1;
repair table t1 use_frm;
drop table t1;

View File

@ -1 +0,0 @@
echo "1" > $MYSQL_TEST_DIR/var/master-data/test/t1.MYI

View File

@ -1,7 +0,0 @@
#
# This test starts with a crashed t1.MYI file left over from repair.test
#
repair table t1;
repair table t1 use_frm;
drop table t1;