From 3aadba15574c2c238671f4ecaa74f330dca4d17d Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 14 Jun 2016 21:29:16 +0200 Subject: compilation warning --- sql/sql_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sql_test.cc') diff --git a/sql/sql_test.cc b/sql/sql_test.cc index 8177a0baa53..e70872af6c5 100644 --- a/sql/sql_test.cc +++ b/sql/sql_test.cc @@ -73,9 +73,8 @@ print_where(COND *cond,const char *info, enum_query_type query_type) DBUG_UNLOCK_FILE; } +#ifdef EXTRA_DEBUG /* This is for debugging purposes */ - - static my_bool print_cached_tables_callback(TDC_element *element, void *arg __attribute__((unused))) { @@ -112,6 +111,7 @@ static void print_cached_tables(void) /* purecov: end */ return; } +#endif void TEST_filesort(SORT_FIELD *sortorder,uint s_length) -- cgit v1.2.1