From 0523910ac4efa67db861a836d9cbe9a5a127e496 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 5 Sep 2002 17:10:18 +0300 Subject: [PATCH] Fixed typo in Heikkis last push. mysql-test/r/innodb.result: Fixed Innodb results after Heikki's last push sql/ha_innodb.cc: Fixed type in Heikki's last push --- mysql-test/r/innodb.result | 2 +- sql/ha_innodb.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/r/innodb.result b/mysql-test/r/innodb.result index c9ae4170238..4224db7c072 100644 --- a/mysql-test/r/innodb.result +++ b/mysql-test/r/innodb.result @@ -455,7 +455,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 diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 13c83d48471..7b8afe7b8fe 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -1669,7 +1669,7 @@ ha_innobase::write_row( introduced only in version 4.0.4 */ if (incremented_auto_inc_counter) { - dict_autoinc_decrement(prebuilt->table); + dict_table_autoinc_decrement(prebuilt->table); } if (incremented_auto_inc_for_stat) {