1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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
This commit is contained in:
unknown
2004-05-07 12:13:45 +03:00
parent ae2b73a55f
commit 95600183df
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -431,7 +431,7 @@ Duplicate entry 'test2' for key 2
select * from t1;
id ggid email passwd
1 this will work
4 test2 this will work
3 test2 this will work
select * from t1 where id=1;
id ggid email passwd
1 this will work