summaryrefslogtreecommitdiff
path: root/storage/xtradb/trx/trx0roll.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/trx/trx0roll.c')
-rw-r--r--storage/xtradb/trx/trx0roll.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/xtradb/trx/trx0roll.c b/storage/xtradb/trx/trx0roll.c
index b55471959ce..ae42623a1d9 100644
--- a/storage/xtradb/trx/trx0roll.c
+++ b/storage/xtradb/trx/trx0roll.c
@@ -132,7 +132,7 @@ trx_rollback_for_mysql(
{
int err;
- if (trx->conc_state == TRX_NOT_STARTED) {
+ if (trx->state == TRX_NOT_STARTED) {
return(DB_SUCCESS);
}
@@ -161,7 +161,7 @@ trx_rollback_last_sql_stat_for_mysql(
{
int err;
- if (trx->conc_state == TRX_NOT_STARTED) {
+ if (trx->state == TRX_NOT_STARTED) {
return(DB_SUCCESS);
}
@@ -263,7 +263,7 @@ trx_rollback_to_savepoint_for_mysql(
return(DB_NO_SAVEPOINT);
}
- if (trx->conc_state == TRX_NOT_STARTED) {
+ if (trx->state == TRX_NOT_STARTED) {
ut_print_timestamp(stderr);
fputs(" InnoDB: Error: transaction has a savepoint ", stderr);
ut_print_name(stderr, trx, FALSE, savep->name);
@@ -560,7 +560,7 @@ loop:
continue;
}
- switch (trx->conc_state) {
+ switch (trx->state) {
case TRX_NOT_STARTED:
case TRX_PREPARED:
continue;