The MySQL Proxy was split into
* a chassis which handles cmdline, service, logging, plugin loading * a core library for the life-cycle, network handling and protocol decoding * a lua layer wrapping around the internals * a set of plugins: proxy, admin, debug, replicant
It also contains a few tools that reuse the above libraries:
* mysql-binlog-dump * mysql-myisam-dump
We dropped libcheck in favour of glib 2.16’s g_test_* functions.
Changelog:
Chassis
SIGHUP to reopen logfiles--basedir--log-backtrace-on-crash--user option to change the system user the proxy runs asCore
RBR for long multi-byte CHAR() fields (#37426)COM_TIME, COM_PROCESS_INFO or COM_DEBUG are receivedmaster.info fileswritev() network backendLua Layer
chassis_log_* functions to lua{ resultset_is_needed = false } as defaultproxy.backends.* to proxy.global.backends.*lua_gc() to improve the speedProxy Plugin
COMMIT and ROLLBACK-- comments in the SQL tokenizerAdmin Plugin
Debug Plugin * return “number” as DOUBLE or INTs
MySQL Binlog Dump * added a library and cmdline interface to dump binlogs incl. MySQL 5.1 RBR
MyISAM Dump * added mysql-myisam-dump to dump the content of a .FRM files and .MYD files