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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/xtradb/que/que0que.c b/storage/xtradb/que/que0que.c
index 9c1d61c1731..5fccbb180fe 100644
--- a/storage/xtradb/que/que0que.c
+++ b/storage/xtradb/que/que0que.c
@@ -1418,6 +1418,12 @@ que_eval_sql(
ut_a(trx->error_state == DB_SUCCESS);
+ if (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);
+ }
+
if (reserve_dict_mutex) {
mutex_enter(&dict_sys->mutex);
}