summaryrefslogtreecommitdiff
path: root/sql/sql_show.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 /sql/sql_show.h
parent7c6cb41b15624fa77cbc92c7b5de9a834e011d56 (diff)
downloadmariadb-git-b4ff64568c88ab3ce559e7bd39853d9cbf86704a.tar.gz
Fixed wrong counting of global Memory_used
Diffstat (limited to 'sql/sql_show.h')
-rw-r--r--sql/sql_show.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.h b/sql/sql_show.h
index 9dae78e7f0e..dbae2a42b39 100644
--- a/sql/sql_show.h
+++ b/sql/sql_show.h
@@ -102,7 +102,7 @@ bool mysqld_show_authors(THD *thd);
bool mysqld_show_contributors(THD *thd);
bool mysqld_show_privileges(THD *thd);
char *make_backup_log_name(char *buff, const char *name, const char* log_ext);
-void calc_sum_of_all_status(STATUS_VAR *to);
+uint calc_sum_of_all_status(STATUS_VAR *to);
void append_definer(THD *thd, String *buffer, const LEX_STRING *definer_user,
const LEX_STRING *definer_host);
int add_status_vars(SHOW_VAR *list);