mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
ffb4dee5a5
Fix for another optimize bug is undone, as the new one handles both cases. test added mysql-test/r/myisam.result: updated mysql-test/t/myisam.test: optimize table corruption test sql/ha_myisam.cc: optimize table corruption fixed, though more clean fix is desired. Fix for another optimize bug is undone, as the new one handles both cases.
44 lines
1.6 KiB
Text
44 lines
1.6 KiB
Text
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 repair status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 repair status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 optimize status OK
|
|
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
|
|
t1 0 PRIMARY 1 a A 5 NULL NULL
|
|
t1 1 b 1 b A 1 NULL NULL
|
|
Table Op Msg_type Msg_text
|
|
test.t1 optimize status Table is already up to date
|
|
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
|
|
t1 0 PRIMARY 1 a A 5 NULL NULL
|
|
t1 1 b 1 b A 1 NULL NULL
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 ALL NULL NULL NULL NULL 4 Using filesort
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 ALL NULL NULL NULL NULL 4 Using filesort
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 ALL NULL NULL NULL NULL 4 Using filesort
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 index NULL PRIMARY 4 NULL 4 Using index
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 index NULL b 4 NULL 4 Using index
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 ALL NULL NULL NULL NULL 4 Using filesort
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 ALL NULL NULL NULL NULL 4
|
|
table type possible_keys key key_len ref rows Extra
|
|
t1 ALL NULL NULL NULL NULL 4
|
|
Table Op Msg_type Msg_text
|
|
test.t1 optimize status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 optimize status OK
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|