forked from facebook/mysql-5.6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue-902 : Debug assertion 'max_val == std::numeric_limits<ulonglong… (
facebook#909) Summary: …>::max()' with auto inc manually set > than field limit - Added extra check to see if current auto_inc value is greater than the fields max_value, and if so, return ullong_max instead of trying to find a new value. - Updated autoinc_vars test with a simple sequence that would have hit the debug assertion prior to the fix but now illustrates proper (well, similar to innodb) behavior. Pull Request resolved: facebook#909 Differential Revision: D13243938 Pulled By: lth fbshipit-source-id: 3798f87
- Loading branch information
Showing
3 changed files
with
108 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters