• thek@adventure.(none)'s avatar
    Bug#30269 Query cache eats memory · acfe3fc9
    thek@adventure.(none) authored
    Although the query cache doesn't support retrieval of statements containing
    column level access control, it was still possible to cache such statements
    thus wasting memory.
      
    This patch extends the access control check on the target tables to avoid
    caching a statement with column level restrictions. 
    
    Views are excepted and can be cached but only retrieved by super user account.
    acfe3fc9
query_cache_with_views.test 3.45 KB