diff options
author | unknown <marko@hundin.mysql.fi> | 2004-05-07 12:13:45 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-05-07 12:13:45 +0300 |
commit | 95600183df8678f6b158d91e11d018fe24678696 (patch) | |
tree | 7ca5024970d645feef036bdccbcb0a3282081ce7 /innobase | |
parent | ae2b73a55ff80c795c9ae42a6c61bcb5bb601c68 (diff) | |
download | mariadb-git-95600183df8678f6b158d91e11d018fe24678696.tar.gz |
Fix auto_inc locking bug introduced in ChangeSet@1.1794.1.1
innobase/row/row0mysql.c:
Revert accidental modification to row_lock_table_autoinc_for_mysql()
made in ChangeSet@1.1794.1.1
mysql-test/r/innodb.result:
Revert ChangeSet@1.1794.1.1
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/row/row0mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index f53a8de2080..bdc47ca0e8e 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -696,7 +696,7 @@ run_again: trx_start_if_not_started(trx); - err = lock_table(0, prebuilt->table, prebuilt->select_lock_type, thr); + err = lock_table(0, prebuilt->table, LOCK_AUTO_INC, thr); trx->error_state = err; |