#At file:///export/home/didrik/repo/trunk-insource/ based on revid:alfranio.correia@stripped
3126 Tor Didriksen 2011-05-30
Bug#11765003 - 57912 Use memset() rather than the deprecated bfill() and bzero()
Post push fix: a typo broke valgrind builds.
modified:
sql/opt_range.cc
=== modified file 'sql/opt_range.cc'
--- a/sql/opt_range.cc 2011-05-26 15:20:09 +0000
+++ b/sql/opt_range.cc 2011-05-30 07:00:39 +0000
@@ -9045,7 +9045,7 @@ int QUICK_RANGE_SELECT::reset()
(Now ndb stores complete row in here, instead of only the used fields
which gives us valgrind warnings in compare_record[])
*/
- memset(mrange_buff, 0, mrange_bufsiz);
+ memset(mrange_buff, 0, buf_size);
#endif
}
Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20110530070039-nkc735j0loztdnf7.bundle
| Thread |
|---|
| • bzr commit into mysql-trunk branch (tor.didriksen:3126) Bug#11765003 | Tor Didriksen | 31 May |