• Sergey Vojtovich's avatar
    Applying InnoDB snapshot · ed057d28
    Sergey Vojtovich authored
    Detailed revision comments:
    
    r6535 | sunny | 2010-01-30 00:08:40 +0200 (Sat, 30 Jan 2010) | 11 lines
    branches/5.1: Undo the change from r6424. We need to return DB_SUCCESS even
    if we were unable to initialize the tabe autoinc value. This is required for
    the open to succeed. The only condition we currently treat as a hard error
    is if the autoinc field instance passed in by MySQL is NULL.
    
    Previously if the table autoinc value was 0 and the next value was requested
    we had an assertion that would fail. Change that assertion and treat a value
    of 0 to mean that the autoinc system is unavailable. Generation of next
    value will now return failure.
    
    rb://237
    ed057d28
ha_innodb.cc 256 KB