From 2b73a6c85d574b2948cd9be35e669cb57a2e29c6 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 2 May 2007 14:25:11 +0200 Subject: [PATCH] Bug#27994 Expose counter for stored procedure calls in Com_% status - Expose the already existing counter for number of stored procedure calls sql/mysqld.cc: Expose counter for "Com_call_procedure" --- sql/mysqld.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 17b98803996..051bad5b310 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -6185,6 +6185,7 @@ struct show_var_st status_vars[]= { {"Com_analyze", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_ANALYZE]), SHOW_LONG_STATUS}, {"Com_backup_table", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_BACKUP_TABLE]), SHOW_LONG_STATUS}, {"Com_begin", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_BEGIN]), SHOW_LONG_STATUS}, + {"Com_call_procedure", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_CALL]), SHOW_LONG_STATUS}, {"Com_change_db", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_CHANGE_DB]), SHOW_LONG_STATUS}, {"Com_change_master", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_CHANGE_MASTER]), SHOW_LONG_STATUS}, {"Com_check", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_CHECK]), SHOW_LONG_STATUS},