mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
07ba5560da
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 |
||
---|---|---|
.. | ||
archive | ||
binlog | ||
csv | ||
engines | ||
federated | ||
funcs_1 | ||
funcs_2 | ||
handler | ||
heap | ||
innodb | ||
innodb_zip | ||
jp | ||
large_tests | ||
manual | ||
maria | ||
mtr/t | ||
mtr2 | ||
ndb | ||
optimizer_unfixed_bugs | ||
oqgraph | ||
parts | ||
percona | ||
perfschema | ||
perfschema_stress | ||
plugins | ||
rpl | ||
sphinx | ||
storage_engine | ||
stress | ||
sys_vars | ||
unit | ||
vcol |