summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-03-31 21:37:45 +0300
committerMichael Widenius <monty@askmonty.org>2010-03-31 21:37:45 +0300
commitfee40e27738122d5c7d7916a1cfa8cd2b5a20186 (patch)
tree2decdda4d5883490a6dbd427afb8c2f7eeb93212 /sql/sql_acl.cc
parent515c2db0304fcf3b88cf6017ec36579ba5447108 (diff)
downloadmariadb-git-fee40e27738122d5c7d7916a1cfa8cd2b5a20186.tar.gz
Fixed some compiler warnings
include/m_ctype.h: MY_UNICASE_INFO already includes 'const' plugin/auth/dialog.c: Fixed parameters to have correct signed/unsigned type sql/sql_acl.cc: old_password_plugin is not used for EMBEDDED_LIBRARY storage/pbxt/src/ha_pbxt.cc: Remove not used variable
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 453af413cb0..ad6583b92f6 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -161,7 +161,10 @@ static LEX_STRING old_password_plugin_name= {
/// @todo make it configurable
LEX_STRING *default_auth_plugin_name= &native_password_plugin_name;
-static plugin_ref native_password_plugin, old_password_plugin;
+static plugin_ref native_password_plugin;
+#ifndef EMBEDDED_LIBRARY
+static plugin_ref old_password_plugin;
+#endif
/* Classes */