1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

small cleanup

* keep all com_xxx constants together in struct system_status_var
* fix an outdated comment in sql_cmd.h
* fix an off-by-one bug in mysqld.cc
This commit is contained in:
Sergei Golubchik
2015-06-19 20:57:39 +02:00
parent c47acc21aa
commit e24caa7588
3 changed files with 12 additions and 11 deletions

View File

@ -96,7 +96,7 @@ enum enum_sql_command {
/*
When a command is added here, be sure it's also added in mysqld.cc
in "struct show_var_st status_vars[]= {" ...
in "struct show_var_st com_status_vars[]= {" ...
*/
/* This should be the last !!! */
SQLCOM_END