| 1 |
--- checksum_table.result |
| 2 |
+++ checksum_table.reject |
| 3 |
@@ -1,40 +1,74 @@ |
| 4 |
DROP TABLE IF EXISTS t1,t2; |
| 5 |
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> CHECKSUM=0 PARTITION BY HASH(a) PARTITIONS 2; |
| 6 |
+ERROR HY000: Engine cannot be used in partitioned tables |
| 7 |
+# ERROR: Statement ended with errno 1572, errname ER_PARTITION_MERGE_ERROR (expected to succeed) |
| 8 |
INSERT INTO t1 (a,b) VALUES (1,'a'),(2,'b'); |
| 9 |
+ERROR 42S02: Table 'test.t1' doesn't exist |
| 10 |
CREATE TABLE t2 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> CHECKSUM=0 PARTITION BY HASH(a) PARTITIONS 2; |
| 11 |
+ERROR HY000: Engine cannot be used in partitioned tables |
| 12 |
+# ERROR: Statement ended with errno 1572, errname ER_PARTITION_MERGE_ERROR (expected to succeed) |
| 13 |
CHECKSUM TABLE t1; |
| 14 |
Table Checksum |
| 15 |
-test.t1 4272806499 |
| 16 |
+test.t1 NULL |
| 17 |
+Warnings: |
| 18 |
+Error 1146 Table 'test.t1' doesn't exist |
| 19 |
CHECKSUM TABLE t2, t1; |
| 20 |
Table Checksum |
| 21 |
-test.t2 0 |
| 22 |
-test.t1 4272806499 |
| 23 |
+test.t2 NULL |
| 24 |
+test.t1 NULL |
| 25 |
+Warnings: |
| 26 |
+Error 1146 Table 'test.t2' doesn't exist |
| 27 |
+Error 1146 Table 'test.t1' doesn't exist |
| 28 |
CHECKSUM TABLE t1, t2 QUICK; |
| 29 |
Table Checksum |
| 30 |
test.t1 NULL |
| 31 |
test.t2 NULL |
| 32 |
+Warnings: |
| 33 |
+Error 1146 Table 'test.t1' doesn't exist |
| 34 |
+Error 1146 Table 'test.t2' doesn't exist |
| 35 |
CHECKSUM TABLE t1, t2 EXTENDED; |
| 36 |
Table Checksum |
| 37 |
-test.t1 4272806499 |
| 38 |
-test.t2 0 |
| 39 |
+test.t1 NULL |
| 40 |
+test.t2 NULL |
| 41 |
+Warnings: |
| 42 |
+Error 1146 Table 'test.t1' doesn't exist |
| 43 |
+Error 1146 Table 'test.t2' doesn't exist |
| 44 |
DROP TABLE t1, t2; |
| 45 |
+ERROR 42S02: Unknown table 'test.t1,test.t2' |
| 46 |
DROP TABLE IF EXISTS t1,t2; |
| 47 |
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> CHECKSUM=1 PARTITION BY HASH(a) PARTITIONS 2; |
| 48 |
+ERROR HY000: Engine cannot be used in partitioned tables |
| 49 |
+# ERROR: Statement ended with errno 1572, errname ER_PARTITION_MERGE_ERROR (expected to succeed) |
| 50 |
INSERT INTO t1 (a,b) VALUES (1,'a'),(2,'b'); |
| 51 |
+ERROR 42S02: Table 'test.t1' doesn't exist |
| 52 |
CREATE TABLE t2 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> CHECKSUM=1 PARTITION BY HASH(a) PARTITIONS 2; |
| 53 |
+ERROR HY000: Engine cannot be used in partitioned tables |
| 54 |
+# ERROR: Statement ended with errno 1572, errname ER_PARTITION_MERGE_ERROR (expected to succeed) |
| 55 |
CHECKSUM TABLE t1; |
| 56 |
Table Checksum |
| 57 |
-test.t1 4272806499 |
| 58 |
+test.t1 NULL |
| 59 |
+Warnings: |
| 60 |
+Error 1146 Table 'test.t1' doesn't exist |
| 61 |
CHECKSUM TABLE t2, t1; |
| 62 |
Table Checksum |
| 63 |
-test.t2 0 |
| 64 |
-test.t1 4272806499 |
| 65 |
+test.t2 NULL |
| 66 |
+test.t1 NULL |
| 67 |
+Warnings: |
| 68 |
+Error 1146 Table 'test.t2' doesn't exist |
| 69 |
+Error 1146 Table 'test.t1' doesn't exist |
| 70 |
CHECKSUM TABLE t1, t2 QUICK; |
| 71 |
Table Checksum |
| 72 |
-test.t1 4272806499 |
| 73 |
-test.t2 0 |
| 74 |
+test.t1 NULL |
| 75 |
+test.t2 NULL |
| 76 |
+Warnings: |
| 77 |
+Error 1146 Table 'test.t1' doesn't exist |
| 78 |
+Error 1146 Table 'test.t2' doesn't exist |
| 79 |
CHECKSUM TABLE t1, t2 EXTENDED; |
| 80 |
Table Checksum |
| 81 |
-test.t1 4272806499 |
| 82 |
-test.t2 0 |
| 83 |
+test.t1 NULL |
| 84 |
+test.t2 NULL |
| 85 |
+Warnings: |
| 86 |
+Error 1146 Table 'test.t1' doesn't exist |
| 87 |
+Error 1146 Table 'test.t2' doesn't exist |
| 88 |
DROP TABLE t1, t2; |
| 89 |
+ERROR 42S02: Unknown table 'test.t1,test.t2' |