Backport of Bug#37843 to mysql-next-mr

sql/sql_cache.cc:
  Swap return value description.
This commit is contained in:
Davi Arnaut 2009-11-10 16:32:23 -02:00
parent 4297dcaac8
commit c809048c64

View File

@ -1332,8 +1332,8 @@ end:
@param query_length Length of the statement in characters
@return status code
@retval 1 Query was not cached.
@retval 0 The query was cached and user was sent the result.
@retval 0 Query was not cached.
@retval 1 The query was cached and user was sent the result.
@retval -1 The query was cached but we didn't have rights to use it.
In case of -1, no error is sent to the client.