• Sergei Petrunia's avatar
    Avoid a crash on MyRocks data inconsistency. · ad88c428
    Sergei Petrunia authored
    In ha_rocksdb::open(), check if the number of indexes seen from the
    SQL layer matches the number of indexes in the internal MyRocks data
    dictionary.
    
    Produce an error if there is a mismatch. (If we don't produce this error,
    we are likely to crash as soon as we attempt to use an index)
    ad88c428
ha_rocksdb.cc 494 KB