mariadb/storage/innobase
Thirunarayanan Balathandayuthapani 07ba5560da Bug #20989615 INNODB AUTO_INCREMENT PRODUCES SAME VALUE TWICE
Problem:
=======
Autoincrement value gives duplicate values because of the following reasons.

(1) In InnoDB handler function, current autoincrement value is not changed
based on newly set auto_increment_increment or auto_increment_offset variable.

(2) Handler function does the rounding logic and changes the current
autoincrement value and InnoDB doesn't aware of the change in current
autoincrement value.

Solution:
========
Fix the problem(1), InnoDB always respect the auto_increment_increment
and auto_increment_offset value in case of current autoincrement value.
By fixing the problem (2), handler layer won't change any current
autoincrement value.

Reviewed-by: Jimmy Yang <jimmy.yang@oracle.com>
RB: 13748
2019-07-23 10:58:56 +03:00
..
btr Update FSF Address 2019-05-11 21:29:06 +03:00
buf Update FSF Address 2019-05-11 21:29:06 +03:00
data Update FSF Address 2019-05-11 21:29:06 +03:00
dict Update FSF Address 2019-05-11 21:29:06 +03:00
dyn Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
eval Update FSF Address 2019-05-11 21:29:06 +03:00
fil Update FSF Address 2019-05-11 21:29:06 +03:00
fsp Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
fut Update FSF Address 2019-05-11 21:29:06 +03:00
ha Update FSF Address 2019-05-11 21:29:06 +03:00
handler Bug #20989615 INNODB AUTO_INCREMENT PRODUCES SAME VALUE TWICE 2019-07-23 10:58:56 +03:00
ibuf Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
include Update FSF Address 2019-05-11 21:29:06 +03:00
lock Update FSF Address 2019-05-11 21:29:06 +03:00
log Update FSF Address 2019-05-11 21:29:06 +03:00
mach Update FSF Address 2019-05-11 21:29:06 +03:00
mem Update FSF Address 2019-05-11 21:29:06 +03:00
mtr Update FSF Address 2019-05-11 21:29:06 +03:00
mysql-test/storage_engine Fix for MDEV-17449, typo in error message (#1146) 2019-03-24 21:24:28 +04:00
os Update FSF Address 2019-05-11 21:29:06 +03:00
page Update FSF Address 2019-05-11 21:29:06 +03:00
pars Update FSF Address 2019-05-11 21:29:06 +03:00
que Update FSF Address 2019-05-11 21:29:06 +03:00
read Update FSF Address 2019-05-11 21:29:06 +03:00
rem Update FSF Address 2019-05-11 21:29:06 +03:00
row Bug #20989615 INNODB AUTO_INCREMENT PRODUCES SAME VALUE TWICE 2019-07-23 10:58:56 +03:00
srv Update FSF Address 2019-05-11 21:29:06 +03:00
sync Update FSF Address 2019-05-11 21:29:06 +03:00
trx Update FSF Address 2019-05-11 21:29:06 +03:00
usr Update FSF Address 2019-05-11 21:29:06 +03:00
ut Update FSF Address 2019-05-11 21:29:06 +03:00
CMakeLists.txt Update FSF Address 2019-05-11 21:29:06 +03:00
compile-innodb Update FSF Address 2019-05-11 21:29:06 +03:00
COPYING.Google
COPYING.Percona
Doxyfile
ha_innodb.def
plugin_exports fix innodb failures on solaris 2013-03-11 21:00:08 +01:00