List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:December 17 2010 10:06am
Subject:bzr commit into mysql-trunk-bugfixing branch (tor.didriksen:3444)
View as plain text  
#At file:///export/home/didrik/repo/trunk-bugfixing-filesort/ based on revid:tor.didriksen@stripped

 3444 Tor Didriksen	2010-12-17
      fix compile warnings

    modified:
      sql/filesort.cc
=== modified file 'sql/filesort.cc'
--- a/sql/filesort.cc	2010-12-17 09:41:21 +0000
+++ b/sql/filesort.cc	2010-12-17 10:06:29 +0000
@@ -1154,13 +1154,13 @@ bool check_if_pq_applicable(Sort_param *
   if (param->max_rows == HA_POS_ERROR)
   {
     DBUG_PRINT("info", ("No LIMIT"));
-    DBUG_RETURN(NULL);
+    DBUG_RETURN(false);
   }
 
   if (param->max_rows + 2 >= UINT_MAX)
   {
     DBUG_PRINT("info", ("Too large LIMIT"));
-    DBUG_RETURN(NULL);
+    DBUG_RETURN(false);
   }
 
   ulong num_available_keys=


Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20101217100629-nj9c5bfbmi023ypb.bundle
Thread
bzr commit into mysql-trunk-bugfixing branch (tor.didriksen:3444) Tor Didriksen17 Dec