summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index f26b2e23b25..cbdfb04c8f6 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -59,6 +59,7 @@
#include "debug.h" // debug_crash_here()
#include <algorithm>
#include "wsrep_mysqld.h"
+#include "sql_debug.h"
#ifdef _WIN32
#include <io.h>
@@ -3659,6 +3660,13 @@ without_overlaps_err:
thd->mem_root))
DBUG_RETURN(TRUE);
+#ifndef DBUG_OFF
+ DBUG_EXECUTE_IF("key",
+ Debug_key::print_keys(thd, "prep_create_table: ",
+ *key_info_buffer, *key_count);
+ );
+#endif
+
DBUG_RETURN(FALSE);
}