diff options
author | Thirunarayanan B <thirunarayanan.balathandayuth@oracle.com> | 2014-02-10 10:13:35 +0530 |
---|---|---|
committer | Thirunarayanan B <thirunarayanan.balathandayuth@oracle.com> | 2014-02-10 10:13:35 +0530 |
commit | 7c12a9e5c3200688612d59160e8f45b1c8451635 (patch) | |
tree | 407483acf7b199ce206366d6c8216741417fbbfe /packaging | |
parent | 92971b9b3140149090da0ddde27ec68e7b006203 (diff) | |
download | mariadb-git-7c12a9e5c3200688612d59160e8f45b1c8451635.tar.gz |
Bug #14049391 INNODB MISCALCULATES AUTO-INCREMENT AFTER DECREASING
AUTO_INCREMENT_INCREMENT
Problem:
=======
When auto_increment_increment system variable decreases,
immediate next value of auto increment column is not affected.
Solution:
========
Get the previous inserted value of auto increment column by
subtracting the previous auto_increment_increment from next
auto increment value. After that calculate the current autoinc value
using newly changed auto_increment_increment variable.
Approved by Sunny [rb#4394]
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions