| 1 |
--- suite/storage_engine/trx/xa_recovery.result |
| 2 |
+++ suite/storage_engine/trx/xa_recovery.reject |
| 3 |
@@ -1,3 +1,9 @@ |
| 4 |
+# -- WARNING ---------------------------------------------------------------- |
| 5 |
+# According to I_S.ENGINES, MyISAM does not support XA. |
| 6 |
+# If it is true, the test will most likely fail; you can |
| 7 |
+# either create an rdiff file, or add the test to disabled.def. |
| 8 |
+# If XA should be supported, check the data in Information Schema. |
| 9 |
+# --------------------------------------------------------------------------- |
| 10 |
call mtr.add_suppression("Found 2 prepared XA transactions"); |
| 11 |
FLUSH TABLES; |
| 12 |
DROP TABLE IF EXISTS t1; |
| 13 |
@@ -18,12 +24,17 @@ |
| 14 |
connection default; |
| 15 |
XA RECOVER; |
| 16 |
formatID gtrid_length bqual_length data |
| 17 |
-1 3 0 xa1 |
| 18 |
-1 3 0 xa2 |
| 19 |
XA ROLLBACK 'xa1'; |
| 20 |
+ERROR XAE04: XAER_NOTA: Unknown XID |
| 21 |
XA COMMIT 'xa2'; |
| 22 |
+ERROR XAE04: XAER_NOTA: Unknown XID |
| 23 |
SELECT a FROM t1; |
| 24 |
a |
| 25 |
+1 |
| 26 |
+2 |
| 27 |
3 |
| 28 |
4 |
| 29 |
+Warnings: |
| 30 |
+Error 145 Table './test/t1' is marked as crashed and should be repaired |
| 31 |
+Error 1034 1 client is using or hasn't closed the table properly |
| 32 |
DROP TABLE t1; |