summaryrefslogtreecommitdiff
path: root/storage/xtradb/que/que0que.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/que/que0que.c')
-rw-r--r--storage/xtradb/que/que0que.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/que/que0que.c b/storage/xtradb/que/que0que.c
index 860fcf5f6f5..a9d76ce4706 100644
--- a/storage/xtradb/que/que0que.c
+++ b/storage/xtradb/que/que0que.c
@@ -1417,7 +1417,7 @@ que_eval_sql(
ut_a(trx->error_state == DB_SUCCESS);
- if (trx->fake_changes) {
+ if (UNIV_UNLIKELY(trx->fake_changes)) {
/* fake_changes should not access to system tables */
fprintf(stderr, "InnoDB: ERROR: innodb_fake_changes tried to access to system tables.\n");
return(DB_ERROR);