List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:November 10 2009 6:32pm
Subject:bzr commit into mysql-5.5-next-mr-runtime branch (davi:2918) Bug#37843
View as plain text  
# At a local mysql-5.5-next-mr-runtime repository of davi

 2918 Davi Arnaut	2009-11-10
      Backport of Bug#37843 to mysql-next-mr
     @ sql/sql_cache.cc
        Swap return value description.

    modified:
      sql/sql_cache.cc
=== modified file 'sql/sql_cache.cc'
--- a/sql/sql_cache.cc	2009-10-29 11:19:36 +0000
+++ b/sql/sql_cache.cc	2009-11-10 18:32:23 +0000
@@ -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:


Attachment: [text/bzr-bundle] bzr/davi.arnaut@sun.com-20091110183223-ehr28r5eymsp4lgk.bundle
Thread
bzr commit into mysql-5.5-next-mr-runtime branch (davi:2918) Bug#37843Davi Arnaut10 Nov