diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-05-17 21:43:15 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-05-17 21:43:15 +0300 |
commit | 6358cdee1e192a689aa7ea73cbbe053ca244566a (patch) | |
tree | dac4685a24aa2d4c79928b3cc8b3810c0cb01874 /sql/ha_innodb.h | |
parent | afaa3c8923288aaaa41f8f519bbc96f3b72b1d50 (diff) | |
download | mariadb-git-6358cdee1e192a689aa7ea73cbbe053ca244566a.tar.gz |
ha_innodb.h, ha_innodb.cc:
Fix bug #10359 : the critical AUTO-INC bug in InnoDB; since reading of the auto-inc counter in an INSERT was not protected by the AUTO-INC table lock of InnoDB, two inserted rows could get the same value for the auto-inc counter, leading to a duplicate key error
sql/ha_innodb.cc:
Fix bug #10359 : the critical AUTO-INC bug in InnoDB; since reading of the auto-inc counter in an INSERT was not protected by the AUTO-INC table lock of InnoDB, two inserted rows could get the same value for the auto-inc counter, leading to a duplicate key error
sql/ha_innodb.h:
Fix bug #10359 : the critical AUTO-INC bug in InnoDB; since reading of the auto-inc counter in an INSERT was not protected by the AUTO-INC table lock of InnoDB, two inserted rows could get the same value for the auto-inc counter, leading to a duplicate key error
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r-- | sql/ha_innodb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h index bcbc38650b3..4c0f5209af9 100644 --- a/sql/ha_innodb.h +++ b/sql/ha_innodb.h @@ -70,7 +70,6 @@ class ha_innobase: public handler ROW_SEL_EXACT, ROW_SEL_EXACT_PREFIX, or undefined */ uint num_write_row; /* number of write_row() calls */ - longlong auto_inc_counter_for_this_stat; ulong max_supported_row_length(const byte *buf); uint store_key_val_for_row(uint keynr, char* buff, uint buff_len, |