Add missing string versions of MySQL commands

The STRPACKETTYPE macro was missing a number of the commands from the enum.

Added executed command byte value to readwritesplit info level log output.
This commit is contained in:
Markus Mäkelä
2017-05-08 19:29:53 +03:00
parent 598fc485ee
commit 09349aaa22
4 changed files with 94 additions and 33 deletions

View File

@ -83,4 +83,7 @@ bool is_mysql_statement_end(const char* start, int len);
bool is_mysql_sp_end(const char* start, int len);
char* modutil_get_canonical(GWBUF* querybuf);
// TODO: Move modutil out of the core
const char* STRPACKETTYPE(int p);
MXS_END_DECLS