mariadb/storage/innobase/row
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
..
row0ext.c Update FSF Address 2019-05-11 21:29:06 +03:00
row0ins.c Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
row0merge.c Update FSF Address 2019-05-11 21:29:06 +03:00
row0mysql.c Bug #20989615 INNODB AUTO_INCREMENT PRODUCES SAME VALUE TWICE 2019-07-23 10:58:56 +03:00
row0purge.c Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
row0row.c Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
row0sel.c Update FSF Address 2019-05-11 21:29:06 +03:00
row0uins.c Update FSF Address 2019-05-11 21:29:06 +03:00
row0umod.c Update FSF Address 2019-05-11 21:29:06 +03:00
row0undo.c Update FSF Address 2019-05-11 21:29:06 +03:00
row0upd.c Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
row0vers.c Update FSF Address 2019-05-11 21:29:06 +03:00