diff options
author | Sergey Glukhov <sergey.glukhov@oracle.com> | 2010-12-13 14:48:12 +0300 |
---|---|---|
committer | Sergey Glukhov <sergey.glukhov@oracle.com> | 2010-12-13 14:48:12 +0300 |
commit | 0e77c3295a83eaaf3ac37e13c4d2c7a467add12e (patch) | |
tree | 86c8c572467405b0b7aa8f57d5729301c9e5086f /include | |
parent | 4096f35a395cee270218ae220b921af567ae26da (diff) | |
download | mariadb-git-0e77c3295a83eaaf3ac37e13c4d2c7a467add12e.tar.gz |
Bug#39828 : Autoinc wraps around when offset and increment > 1
Auto increment value wraps when performing a bulk insert with
auto_increment_increment and auto_increment_offset greater than
one.
The fix:
If overflow happened then return MAX_ULONGLONG value as an
indication of overflow and check this before storing the
value into the field in update_auto_increment().
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions