summaryrefslogtreecommitdiff
path: root/libmysqld/emb_qcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqld/emb_qcache.h')
-rw-r--r--libmysqld/emb_qcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqld/emb_qcache.h b/libmysqld/emb_qcache.h
index 8fd166df88d..d714450feb8 100644
--- a/libmysqld/emb_qcache.h
+++ b/libmysqld/emb_qcache.h
@@ -22,7 +22,7 @@ class Querycache_stream
Query_cache_block *block;
uint headers_len;
public:
-#ifndef DBUG_OFF
+#ifdef DBUG_ASSERT_EXISTS
Query_cache_block *first_block;
uint stored_size;
#endif
@@ -31,7 +31,7 @@ public:
{
cur_data= ((uchar*)block)+headers_len;
data_end= cur_data + (block->used-headers_len);
-#ifndef DBUG_OFF
+#ifdef DBUG_ASSERT_EXISTS
first_block= ini_block;
stored_size= 0;
#endif