summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-05-07 12:17:11 +0300
committerunknown <marko@hundin.mysql.fi>2004-05-07 12:17:11 +0300
commitbd4be3f1b99c53c260c6ec4cf26d77d1742b7e91 (patch)
tree89a0792f47ae1e665fc96779827a23b17aa5a7ed
parent146019b593e9806a80863bb55c06dd3cbfcd34d9 (diff)
parent95600183df8678f6b158d91e11d018fe24678696 (diff)
downloadmariadb-git-bd4be3f1b99c53c260c6ec4cf26d77d1742b7e91.tar.gz
Merge marko@build.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/marko/l/mysql-4.0
-rw-r--r--innobase/row/row0mysql.c2
-rw-r--r--mysql-test/r/innodb.result2
2 files changed, 2 insertions, 2 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;
diff --git a/mysql-test/r/innodb.result b/mysql-test/r/innodb.result
index 1a92946bfcd..6a67bbc6f8b 100644
--- a/mysql-test/r/innodb.result
+++ b/mysql-test/r/innodb.result
@@ -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