mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.0' into 10.1
This commit is contained in:
@@ -1106,7 +1106,7 @@ inline int get_command_index(char cmd_char)
|
||||
All client-specific commands are in the first part of commands array
|
||||
and have a function to implement it.
|
||||
*/
|
||||
for (uint i= 0; *commands[i].func; i++)
|
||||
for (uint i= 0; commands[i].func; i++)
|
||||
if (commands[i].cmd_char == cmd_char)
|
||||
return i;
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user