| 1 |
--- truncate_table.result |
| 2 |
+++ truncate_table.reject |
| 3 |
@@ -9,19 +9,19 @@ |
| 4 |
CREATE TABLE t1 (a <INT_COLUMN> KEY AUTO_INCREMENT, c <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>; |
| 5 |
SHOW TABLE STATUS LIKE 't1'; |
| 6 |
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 Max_index_length Temporary |
| 7 |
-t1 # # # # # # # # # 1 # # # # # # # # N |
| 8 |
+t1 # # # # # # # # # 0 # # # # # # # # N |
| 9 |
INSERT INTO t1 (c) VALUES ('a'),('b'),('c'); |
| 10 |
SHOW TABLE STATUS LIKE 't1'; |
| 11 |
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 Max_index_length Temporary |
| 12 |
-t1 # # # # # # # # # 4 # # # # # # # # N |
| 13 |
+t1 # # # # # # # # # 0 # # # # # # # # N |
| 14 |
TRUNCATE TABLE t1; |
| 15 |
SHOW TABLE STATUS LIKE 't1'; |
| 16 |
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 Max_index_length Temporary |
| 17 |
-t1 # # # # # # # # # 1 # # # # # # # # N |
| 18 |
+t1 # # # # # # # # # 0 # # # # # # # # N |
| 19 |
INSERT INTO t1 (c) VALUES ('d'); |
| 20 |
SHOW TABLE STATUS LIKE 't1'; |
| 21 |
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 Max_index_length Temporary |
| 22 |
-t1 # # # # # # # # # 2 # # # # # # # # N |
| 23 |
+t1 # # # # # # # # # 0 # # # # # # # # N |
| 24 |
SELECT a,c FROM t1; |
| 25 |
a c |
| 26 |
1 d |
| 27 |
@@ -29,13 +29,12 @@ |
| 28 |
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>; |
| 29 |
INSERT INTO t1 (a,b) VALUES (1,'a'),(2,'b'),(3,'c'); |
| 30 |
HANDLER t1 OPEN AS h1; |
| 31 |
-HANDLER h1 READ FIRST; |
| 32 |
-a b |
| 33 |
-1 a |
| 34 |
-TRUNCATE TABLE t1; |
| 35 |
-HANDLER h1 READ NEXT; |
| 36 |
-ERROR 42S02: Unknown table 'h1' in HANDLER |
| 37 |
-HANDLER t1 OPEN AS h2; |
| 38 |
-HANDLER h2 READ FIRST; |
| 39 |
-a b |
| 40 |
+ERROR HY000: Storage engine MRG_MyISAM of the table `test`.`t1` doesn't have this option |
| 41 |
+# ------------ UNEXPECTED RESULT ------------ |
| 42 |
+# The statement|command finished with ER_ILLEGAL_HA. |
| 43 |
+# HANDLER or the syntax or the mix could be unsupported. |
| 44 |
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def. |
| 45 |
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped. |
| 46 |
+# Also, this problem may cause a chain effect (more errors of different kinds in the test). |
| 47 |
+# ------------------------------------------- |
| 48 |
DROP TABLE t1; |