diff options
| author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-11-10 16:32:23 -0200 |
|---|---|---|
| committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-11-10 16:32:23 -0200 |
| commit | b53bb56724f9070de3f86ac3603de473f85e48be (patch) | |
| tree | 808ac62b3cb13576125563bd77a4d15a7d05d39b /sql/sql_cache.cc | |
| parent | 7d0ae74508071ac75ce54c789d2c0a65e2db0792 (diff) | |
| download | mariadb-git-b53bb56724f9070de3f86ac3603de473f85e48be.tar.gz | |
Backport of Bug#37843 to mysql-next-mr
Diffstat (limited to 'sql/sql_cache.cc')
| -rw-r--r-- | sql/sql_cache.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 6f550f92987..e91da2ddacb 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -1330,12 +1330,12 @@ end: @param thd Pointer to the thread handler @param sql A pointer to the sql statement * @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 -1 The query was cached but we didn't have rights to use it. - + @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. *) The buffer must be allocated memory of size: |
