mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
added missing command names to command_name[] array
This commit is contained in:
@ -45,13 +45,16 @@ enum enum_server_command
|
|||||||
COM_TABLE_DUMP, COM_CONNECT_OUT, COM_REGISTER_SLAVE,
|
COM_TABLE_DUMP, COM_CONNECT_OUT, COM_REGISTER_SLAVE,
|
||||||
COM_PREPARE, COM_EXECUTE, COM_LONG_DATA, COM_CLOSE_STMT,
|
COM_PREPARE, COM_EXECUTE, COM_LONG_DATA, COM_CLOSE_STMT,
|
||||||
COM_RESET_STMT, COM_SET_OPTION,
|
COM_RESET_STMT, COM_SET_OPTION,
|
||||||
COM_END /* Must be last */
|
/* don't forget to update const char *command_name[] in sql_parse.cc */
|
||||||
|
|
||||||
|
/* Must be last */
|
||||||
|
COM_END
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Length of random string sent by server on handshake; this is also length of
|
Length of random string sent by server on handshake; this is also length of
|
||||||
obfuscated password, recieved from client
|
obfuscated password, recieved from client
|
||||||
*/
|
*/
|
||||||
#define SCRAMBLE_LENGTH 20
|
#define SCRAMBLE_LENGTH 20
|
||||||
#define SCRAMBLE_LENGTH_323 8
|
#define SCRAMBLE_LENGTH_323 8
|
||||||
|
@ -63,9 +63,10 @@ const char *any_db="*any*"; // Special symbol for check_access
|
|||||||
const char *command_name[]={
|
const char *command_name[]={
|
||||||
"Sleep", "Quit", "Init DB", "Query", "Field List", "Create DB",
|
"Sleep", "Quit", "Init DB", "Query", "Field List", "Create DB",
|
||||||
"Drop DB", "Refresh", "Shutdown", "Statistics", "Processlist",
|
"Drop DB", "Refresh", "Shutdown", "Statistics", "Processlist",
|
||||||
"Connect","Kill","Debug","Ping","Time","Delayed_insert","Change user",
|
"Connect","Kill","Debug","Ping","Time","Delayed insert","Change user",
|
||||||
"Binlog Dump","Table Dump", "Connect Out", "Register Slave",
|
"Binlog Dump","Table Dump", "Connect Out", "Register Slave",
|
||||||
"Prepare", "Prepare Execute", "Long Data", "Close stmt",
|
"Prepare", "Prepare Execute", "Long Data", "Close stmt",
|
||||||
|
"Reset stmt", "Set option",
|
||||||
"Error" // Last command number
|
"Error" // Last command number
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user