diff options
author | heikki@hundin.mysql.fi <> | 2002-07-31 00:47:20 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2002-07-31 00:47:20 +0300 |
commit | bbb8125a2cad4845a61efe0f63906bd0cb64ec20 (patch) | |
tree | c292c07f8ce5669e3036ef6b705c347df3e64c0c /innobase/row | |
parent | c5bdaee9ad98c363d16c97292d14eb0ce2a890b9 (diff) | |
download | mariadb-git-bbb8125a2cad4845a61efe0f63906bd0cb64ec20.tar.gz |
Many files:
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
Diffstat (limited to 'innobase/row')
-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 529007dfb26..bb33f7c1485 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 = "setting auto-inc lock"; if (node == NULL) { |