summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2019-01-15 17:05:42 +0200
committerMichael Widenius <monty@mariadb.org>2019-01-15 17:05:42 +0200
commit9990027f872764d64e6a450fe9988fb9a7263c5c (patch)
treeb0f9473e63aa0edd0de7019f934cd9f34408f80d /sql/sql_lex.h
parentce06990056824f0a3ef15cdf9980aaa3cfb911e0 (diff)
downloadmariadb-git-9990027f872764d64e6a450fe9988fb9a7263c5c.tar.gz
Fixed compiler warnings from optimized builds
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 40ba3b6e7b7..49ff46c2bf9 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -3438,12 +3438,14 @@ public:
void pop_context()
{
DBUG_ENTER("LEX::pop_context");
+#ifndef DBUG_OFF
Name_resolution_context *context= context_stack.pop();
DBUG_PRINT("info", ("Pop context %p Select: %p (%d)",
context, context->select_lex,
(context->select_lex ?
context->select_lex->select_number:
0)));
+#endif
DBUG_VOID_RETURN;
}