summaryrefslogtreecommitdiff
path: root/include/mysql/plugin.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-04-28 11:10:55 +0300
committerMonty <monty@mariadb.org>2016-04-28 13:39:55 +0300
commitb4ff64568c88ab3ce559e7bd39853d9cbf86704a (patch)
tree1eff90ae44fc8b7e8e224844c087add4e561ebb5 /include/mysql/plugin.h
parent7c6cb41b15624fa77cbc92c7b5de9a834e011d56 (diff)
downloadmariadb-git-b4ff64568c88ab3ce559e7bd39853d9cbf86704a.tar.gz
Fixed wrong counting of global Memory_used
Diffstat (limited to 'include/mysql/plugin.h')
-rw-r--r--include/mysql/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h
index cfa4b13a7ef..b3c71c65488 100644
--- a/include/mysql/plugin.h
+++ b/include/mysql/plugin.h
@@ -194,8 +194,10 @@ struct st_mysql_show_var {
enum enum_mysql_show_type type;
};
+struct system_status_var;
+
#define SHOW_VAR_FUNC_BUFF_SIZE (256 * sizeof(void*))
-typedef int (*mysql_show_var_func)(MYSQL_THD, struct st_mysql_show_var*, void *, enum enum_var_type);
+typedef int (*mysql_show_var_func)(MYSQL_THD, struct st_mysql_show_var*, void *, struct system_status_var *status_var, enum enum_var_type);
/*