• unknown's avatar
    Flush entries from the query cache for tables used in · dd522efd
    unknown authored
    administrative statements that may alter the table, such
    as REPAIR TABLE. (Bug #8480)
    
    
    mysql-test/r/query_cache.result:
      Add new results
    mysql-test/t/query_cache.test:
      Add regression test
    sql/sql_table.cc:
      Make sure entries are flushed from the query cache for
      any administrative command run on a table that acquires
      a write lock on it (and thus might change it), like 
      REPAIR TABLE.
    dd522efd
query_cache.test 14.2 KB