summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-02-17 08:05:00 +0400
committerAlexander Barkov <bar@mariadb.org>2016-02-17 08:05:00 +0400
commit09b586546029a7ffc6886b0ab528105ef3fb78eb (patch)
tree0aec0f4ee1bb481c99bd7381e64c899f52dd438b /include
parente8085d1b4147b43bbed22f2f7befd4f2b2fa178f (diff)
downloadmariadb-git-09b586546029a7ffc6886b0ab528105ef3fb78eb.tar.gz
MDEV-9511 Valgrind warnings 'Invalid read' in Field_newdate::cmp and Field_newdate::val_str
Diffstat (limited to 'include')
-rw-r--r--include/byte_order_generic_x86_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/byte_order_generic_x86_64.h b/include/byte_order_generic_x86_64.h
index 877c1574dfa..b6b0c5d8ea5 100644
--- a/include/byte_order_generic_x86_64.h
+++ b/include/byte_order_generic_x86_64.h
@@ -31,7 +31,7 @@
Attention: Please, note, uint3korr reads 4 bytes (not 3)!
It means, that you have to provide enough allocated space.
*/
-#if defined(HAVE_purify) && !defined(_WIN32)
+#if defined(HAVE_valgrind) && !defined(_WIN32)
#define uint3korr(A) (uint32) (((uint32) ((uchar) (A)[0])) +\
(((uint32) ((uchar) (A)[1])) << 8) +\
(((uint32) ((uchar) (A)[2])) << 16))