diff options
author | marko@hundin.mysql.fi <> | 2004-05-07 12:13:45 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-05-07 12:13:45 +0300 |
commit | c066b3022e9ce6606f6ccc214bbdc3b85a83dfcb (patch) | |
tree | 7ca5024970d645feef036bdccbcb0a3282081ce7 /innobase | |
parent | b83fd7841ad75883599c1ae173b8d1b9f60daf38 (diff) | |
download | mariadb-git-c066b3022e9ce6606f6ccc214bbdc3b85a83dfcb.tar.gz |
Fix auto_inc locking bug introduced in 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; |