• Timothy Smith's avatar
    Applying InnoDB snashot 5.1-ss4350, part 5. Fixes · 8cbd34f0
    Timothy Smith authored
    Bug #43203  	Overflow from auto incrementing causes server segv
    
    Detailed revision comments:
    
    r4325 | sunny | 2009-03-02 02:28:52 +0200 (Mon, 02 Mar 2009) | 10 lines
    branches/5.1: Bug#43203: Overflow from auto incrementing causes server segv
    It was not a SIGSEGV but an assertion failure. The assertion was checking
    the invariant that *first_value passed in by MySQL doesn't contain a value
    that is greater than the max value for that type. The assertion has been
    changed to a check and if the value is greater than the max we report a
    generic AUTOINC failure.
    
    rb://93
    Approved by Heikki
    8cbd34f0
ha_innodb.cc 240 KB