[Commits] Rev 3775: Fix to make it compiling with valgrind. in file:///home/bell/maria/bzr/work-maria-5.3-MDEV-5518/

sanja at askmonty.org sanja at askmonty.org
Fri Mar 21 12:23:33 EET 2014


At file:///home/bell/maria/bzr/work-maria-5.3-MDEV-5518/

------------------------------------------------------------
revno: 3775
revision-id: sanja at askmonty.org-20140321102309-tk38sm477ne6ayqr
parent: psergey at askmonty.org-20140318080632-c1pql218bfrx26y2
committer: sanja at askmonty.org
branch nick: work-maria-5.3-MDEV-5518
timestamp: Fri 2014-03-21 12:23:09 +0200
message:
  Fix to make it compiling with valgrind.
-------------- next part --------------
=== modified file 'sql/opt_range.cc'
--- a/sql/opt_range.cc	2014-03-16 20:03:01 +0000
+++ b/sql/opt_range.cc	2014-03-21 10:23:09 +0000
@@ -13324,7 +13324,7 @@ int QUICK_GROUP_MIN_MAX_SELECT::next_min
       }
       else if (result == HA_ERR_KEY_NOT_FOUND || result == HA_ERR_END_OF_FILE)
         result= 0; /* There is a result in any case. */
-      my_afree(tmp_key_buff);
+      my_afree(key_buf);
     }
   }
 



More information about the commits mailing list