• unknown's avatar
    Bug#30710 query_cache.test fails on embedded - per-column privs test · 27324e11
    unknown authored
    The embedded version of the server doesn't use column level grants, and 
    the compile directive NO_EMBEDDED_ACCESS_CHECKS should be checked instead of
    the redundant HAVE_QUERY_CACHE (which is always the case) to determine if 
    column level grants should be compiled or not.
    
    
    mysql-test/r/query_cache.result:
      Updated result file
    mysql-test/r/query_cache_notembedded.result:
      Updated result file
    mysql-test/t/query_cache.test:
      Moved test with GRANT to query_cache_notembedded test.
    mysql-test/t/query_cache_notembedded.test:
      Moved test with GRANT to query_cache_notembedded test.
    sql/sql_cache.cc:
      Changed the conditional compilation directive to only compile column level grant
      checks if NO_EMBEDDED_ACCESS_CHECKS isn't defined.
    27324e11
sql_cache.cc 139 KB