The manual indicates that "SQL_NO_CACHE" prevents a query from being added to the cache. But it doesn't say anything about using the cache, that I can see.
I'm trying to benchmark two versions of a query, but they've already been run without "SQL_NO_CACHE". So I don't know if my tests are using the query cache or not.
Does the "SQL_NO_CACHE" directive prevent a query from using the cache, or just from adding to it?