mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
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().