diff options
Diffstat (limited to 'storage/xtradb/que/que0que.c')
-rw-r--r-- | storage/xtradb/que/que0que.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/xtradb/que/que0que.c b/storage/xtradb/que/que0que.c index d704e0cd1fc..0d13491f25a 100644 --- a/storage/xtradb/que/que0que.c +++ b/storage/xtradb/que/que0que.c @@ -1417,6 +1417,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); } |