summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-06-20 13:20:32 +0300
committermonty@mysql.com <>2006-06-20 13:20:32 +0300
commitbe269e56d2a20b5ec70991eb73c87efa20df7dfd (patch)
treec7992132df0440e7a225104a6c67e1cbe6cd9133 /sql/structs.h
parent49a3334889a9278859ff9030f193b4289c2870e0 (diff)
downloadmariadb-git-be269e56d2a20b5ec70991eb73c87efa20df7dfd.tar.gz
SHOW STATUS does not anymore change local status variables (except com_show_status). Global status variables are still updated.
SHOW STATUS are not anymore put in slow query log because of no index usage. Implemntation done by removing orig_sql_command and moving logic of SHOW STATUS to mysql_excute_command() This simplifies code and allows us to remove some if statements all over the code. Upgraded uc_update_queries[] to sql_command_flags and added more bitmaps to better categorize commands. This allowed some overall simplifaction when testing sql_command. Fixes bugs: Bug#10210: running SHOW STATUS increments counters it shouldn't Bug#19764: SHOW commands end up in the slow log as table scans
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/structs.h b/sql/structs.h
index 506b37eb31a..38bb441fc03 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -180,7 +180,7 @@ typedef struct user_resources {
uint questions;
/*
Maximum number of updating statements per hour (which statements are
- updating is defined by uc_update_queries array).
+ updating is defined by sql_command_flags array).
*/
uint updates;
/* Maximum number of connections established per hour. */