• Nikita Malyavin's avatar
    Provide a safe range for RocksDB errors · 25264f1c
    Nikita Malyavin authored
    Last time, commit b9f57931 (MDEV-9101) has updated HA_ERR_LAST, breaking the
    rocksdb error codes. According to the commit history, this happens each time a
    new HA error is added.
    
    This patch fixes the range to start from '500', hopefully resolving the problem
    for the close future.
    
    In addition, fix incorrect error codes enumeration.
    25264f1c
ha_rocksdb.cc 501 KB