mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Bug#8283 - OPTIMIZE TABLE causes data loss
After merge fix. MyISAM version 10.
This commit is contained in:
@@ -841,7 +841,7 @@ _id
|
|||||||
DELETE FROM t1 WHERE _id < 8;
|
DELETE FROM t1 WHERE _id < 8;
|
||||||
SHOW TABLE STATUS LIKE 't1';
|
SHOW TABLE STATUS LIKE 't1';
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||||
t1 MyISAM 9 Dynamic 2 # # # # 140 # # # # # #
|
t1 MyISAM 10 Dynamic 2 # # # # 140 # # # # # #
|
||||||
CHECK TABLE t1 EXTENDED;
|
CHECK TABLE t1 EXTENDED;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
@@ -853,7 +853,7 @@ Table Op Msg_type Msg_text
|
|||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
SHOW TABLE STATUS LIKE 't1';
|
SHOW TABLE STATUS LIKE 't1';
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||||
t1 MyISAM 9 Dynamic 2 # # # # 0 # # # # # #
|
t1 MyISAM 10 Dynamic 2 # # # # 0 # # # # # #
|
||||||
SELECT _id FROM t1;
|
SELECT _id FROM t1;
|
||||||
_id
|
_id
|
||||||
8
|
8
|
||||||
@@ -900,7 +900,7 @@ _id
|
|||||||
DELETE FROM t1 WHERE _id < 8;
|
DELETE FROM t1 WHERE _id < 8;
|
||||||
SHOW TABLE STATUS LIKE 't1';
|
SHOW TABLE STATUS LIKE 't1';
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||||
t1 MyISAM 9 Dynamic 2 # # # # 140 # # # # # #
|
t1 MyISAM 10 Dynamic 2 # # # # 140 # # # # # #
|
||||||
CHECK TABLE t1 EXTENDED;
|
CHECK TABLE t1 EXTENDED;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
@@ -912,7 +912,7 @@ Table Op Msg_type Msg_text
|
|||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
SHOW TABLE STATUS LIKE 't1';
|
SHOW TABLE STATUS LIKE 't1';
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||||
t1 MyISAM 9 Dynamic 2 # # # # 140 # # # # # #
|
t1 MyISAM 10 Dynamic 2 # # # # 140 # # # # # #
|
||||||
SELECT _id FROM t1;
|
SELECT _id FROM t1;
|
||||||
_id
|
_id
|
||||||
8
|
8
|
||||||
|
Reference in New Issue
Block a user