• sunny's avatar
    Fix for Bug # 18828. Return DB_TOO_MANY_CONCURRENT_TRXS when we run out · 9479a354
    sunny authored
    of UNDO slots in the rollback segment. This is a partial fix since the
    MySQL error code requested to properly report the error condition back
    to the client has not yet materialized. Currently we have #ifdef'd the
    error code translation in ha_innodb.cc. This will have to be changed
    as and when MySQl add the new requested code or an equivalent code
    that we can then use.
    
    Given the above, currently we will get the old behaviour, not the "fixed"
    and intended behaviour.
    
    9479a354
trx0undo.c 50.1 KB