diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 49ff46c2bf9..c22f95978a0 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -3439,13 +3439,16 @@ public: { DBUG_ENTER("LEX::pop_context"); #ifndef DBUG_OFF - Name_resolution_context *context= context_stack.pop(); + Name_resolution_context *context= +#endif + 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; }