Commit c809048c authored by Davi Arnaut's avatar Davi Arnaut

Backport of Bug#37843 to mysql-next-mr

sql/sql_cache.cc:
  Swap return value description.
parent 4297dcaa
...@@ -1330,12 +1330,12 @@ end: ...@@ -1330,12 +1330,12 @@ end:
@param thd Pointer to the thread handler @param thd Pointer to the thread handler
@param sql A pointer to the sql statement * @param sql A pointer to the sql statement *
@param query_length Length of the statement in characters @param query_length Length of the statement in characters
@return status code @return status code
@retval 1 Query was not cached. @retval 0 Query was not cached.
@retval 0 The query was cached and user was sent the result. @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. @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. In case of -1, no error is sent to the client.
*) The buffer must be allocated memory of size: *) The buffer must be allocated memory of size:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment