summaryrefslogtreecommitdiff
path: root/storage/innobase/include/trx0types.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/trx0types.h')
-rw-r--r--storage/innobase/include/trx0types.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/storage/innobase/include/trx0types.h b/storage/innobase/include/trx0types.h
index 252d93796ee..e6b1851f330 100644
--- a/storage/innobase/include/trx0types.h
+++ b/storage/innobase/include/trx0types.h
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2017, 2018, MariaDB Corporation.
+Copyright (c) 2017, 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -62,10 +62,11 @@ enum trx_state_t {
TRX_STATE_NOT_STARTED,
TRX_STATE_ACTIVE,
-
- /** Support for 2PC/XA */
+ /** XA PREPARE has been executed; only XA COMMIT or XA ROLLBACK
+ are possible */
TRX_STATE_PREPARED,
-
+ /** XA PREPARE transaction that was returned to ha_recover() */
+ TRX_STATE_PREPARED_RECOVERED,
TRX_STATE_COMMITTED_IN_MEMORY
};