summaryrefslogtreecommitdiff
path: root/sql/sql_alter.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_alter.h')
-rw-r--r--sql/sql_alter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_alter.h b/sql/sql_alter.h
index c0232dd7358..a37d96934ea 100644
--- a/sql/sql_alter.h
+++ b/sql/sql_alter.h
@@ -331,7 +331,7 @@ private:
char new_path[FN_REFLEN + 1];
char tmp_path[FN_REFLEN + 1];
-#ifndef DBUG_OFF
+#ifdef DBUG_ASSERT_EXISTS
/** Indicates that we are altering temporary table. Used only in asserts. */
bool tmp_table;
#endif