diff options
Diffstat (limited to 'innobase/row/row0mysql.c')
-rw-r--r-- | innobase/row/row0mysql.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index e0737f53213..3ee458f43bf 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -595,6 +595,11 @@ row_lock_table_autoinc_for_mysql( ut_ad(trx); ut_ad(trx->mysql_thread_id == os_thread_get_curr_id()); + if (trx->auto_inc_lock) { + + return(DB_SUCCESS); + } + trx->op_info = (char *) "setting auto-inc lock"; if (node == NULL) { |