summaryrefslogtreecommitdiff
path: root/plugin/audit_null
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:33 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:33 +0200
commit775e82638b825747a2a8b7cf7d6d29c872693422 (patch)
tree7cb178d1273c5d993544b881a6bb93a33f75cfac /plugin/audit_null
parentc7eead7a965b33fbad5099c927d2bb0723725bf3 (diff)
downloadmariadb-git-775e82638b825747a2a8b7cf7d6d29c872693422.tar.gz
put status variables in the proper pluginname_ scope
(but support the scopeless mysql style too). always output status/system variables in the correct lettercase
Diffstat (limited to 'plugin/audit_null')
-rw-r--r--plugin/audit_null/audit_null.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugin/audit_null/audit_null.c b/plugin/audit_null/audit_null.c
index be0c70fbd35..0616f192f20 100644
--- a/plugin/audit_null/audit_null.c
+++ b/plugin/audit_null/audit_null.c
@@ -127,12 +127,10 @@ static struct st_mysql_audit audit_null_descriptor=
static struct st_mysql_show_var simple_status[]=
{
- { "Audit_null_called", (char *) &number_of_calls, SHOW_INT },
- { "Audit_null_general_log", (char *) &number_of_calls_general_log, SHOW_INT },
- { "Audit_null_general_error", (char *) &number_of_calls_general_error,
- SHOW_INT },
- { "Audit_null_general_result", (char *) &number_of_calls_general_result,
- SHOW_INT },
+ { "called", (char *) &number_of_calls, SHOW_INT },
+ { "general_log", (char *) &number_of_calls_general_log, SHOW_INT },
+ { "general_error", (char *) &number_of_calls_general_error, SHOW_INT },
+ { "general_result", (char *) &number_of_calls_general_result, SHOW_INT },
{ 0, 0, 0}
};