• Sergei Petrunia's avatar
    MariaRocks: fix a bug in MariaDB: SHOW STATUS LIKE shows extra rows · bc646ee8
    Sergei Petrunia authored
    SHOW STATUS LIKE 'pattern' returned Rocksdb_XXX status variables
    that had SHOW_FUNC type but didn't match the pattern (for example
    Rocksdb_block_cache_add).
    
    Among other things, this caused MTR to assume that each testcase
    has damaged the execution environment.
    
    The issue was a unitialized variable and then a typo in the condition
    that checks if variable name matches the pattern.
    bc646ee8
sql_show.cc 322 KB