summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/file_key_management/file_key_management_plugin.cc1
-rw-r--r--sql/sql_test.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugin/file_key_management/file_key_management_plugin.cc b/plugin/file_key_management/file_key_management_plugin.cc
index 2804393082e..77344bc57ee 100644
--- a/plugin/file_key_management/file_key_management_plugin.cc
+++ b/plugin/file_key_management/file_key_management_plugin.cc
@@ -172,6 +172,7 @@ static int file_key_management_plugin_init(void *p)
static int file_key_management_plugin_deinit(void *p)
{
keys.free_memory();
+ return 0;
}
/*
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index 86f7dc268b9..50d51dcc8cc 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -54,7 +54,7 @@ static const char *lock_descriptions[] =
};
-#ifdef EXTRA_DEBUG
+#ifndef DBUG_OFF
void
print_where(COND *cond,const char *info, enum_query_type query_type)