summaryrefslogtreecommitdiff
path: root/sql/wsrep_var.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-02-18 09:33:24 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-02-18 11:44:20 +0200
commit869ce67f595879ef9584adbd4067074b98ab0829 (patch)
treeea42ae827c0cf3314f428324878230bdc4b50d57 /sql/wsrep_var.cc
parent2bd7f3298089c04a0ad5e7cad06c2a34e239a410 (diff)
downloadmariadb-git-869ce67f595879ef9584adbd4067074b98ab0829.tar.gz
Disable unused function
Diffstat (limited to 'sql/wsrep_var.cc')
-rw-r--r--sql/wsrep_var.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/wsrep_var.cc b/sql/wsrep_var.cc
index 7ba4ed3c14c..d091348f481 100644
--- a/sql/wsrep_var.cc
+++ b/sql/wsrep_var.cc
@@ -757,7 +757,7 @@ static int show_var_cmp(const void *var1, const void *var2)
{
return strcasecmp(((SHOW_VAR*)var1)->name, ((SHOW_VAR*)var2)->name);
}
-#endif /* UNUSED */
+
/*
* Status variables stuff below
*/
@@ -780,6 +780,7 @@ wsrep_assign_to_mysql (SHOW_VAR* mysql, wsrep_stats_var* wsrep_var)
break;
}
}
+#endif /* UNUSED */
#if DYNAMIC
// somehow this mysql status thing works only with statically allocated arrays.