summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h
index 4a4f7cee2a5..8eacf75844a 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -998,7 +998,7 @@ public:
*/
virtual int store_from_statistical_minmax_field(Field *field, String *str);
-#ifdef HAVE_valgrind
+#ifdef HAVE_MEM_CHECK
/**
Mark unused memory in the field as defined. Mainly used to ensure
that if we write full field to disk (for example in
@@ -4161,7 +4161,7 @@ public:
}
int store(const char *to,size_t length,CHARSET_INFO *charset) override;
using Field_str::store;
-#ifdef HAVE_valgrind
+#ifdef HAVE_MEM_CHECK
void mark_unused_memory_as_defined() override;
#endif
double val_real() override;