Functionality Added or Changed
Added connection pooling.
Added a global Lua-scope proxy.global.*.
Added support for listening UNIX sockets.
When using read/write splitting and the
rw-splitting.lua example script, connecting
a second user to the proxy returns an error message.
(Bug #30867)
Added --no-proxy to disable the proxy.
Added test cases.
Added support for proxy.response.packets.
Added handling of
proxy.connection.backend_ndx in
connect_server() and
read_query() to support read/write
splitting.
Added hooks for read_auth(),
read_handshake() and
read_auth_result().
By default, MySQL Proxy now starts in daemon mode. Use the new
--no-daemon option to override this. Added the
--pid-file option for
writing the process ID to a file after becoming a daemon.
Added support in read_query_result() to
overwrite the result set.
Bugs Fixed
Fixed a memory leak when proxy.response.* is
used.
Fixed handling of (SQL) NULL in result sets.
Fixed inj.resultset.affected_rows on
SELECT queries.
Fixed decoding of length-encoded ints for 3-byte notation.
Fixed an assertion when connecting to MySQL 6.0.1.
Fixed an assertion that MySQL Proxy raised at login time if a client specified no password and no default database. (Bug #29719)
Fixed compilation on win32.
Fixed length encoding on proxy.resultsets.
Fixed an assertion on result-packets like [field-len |
fields | EOF | ERR].
(Bug #29732)
Fixed connection stalling if
read_query_result() raised an assertion.
Fixed an assertion on COM_BINLOG_DUMP.
(Bug #29764)
Fixed an assertion at connect time when all backends are down.
Fixed an assertion at COM_SHUTDOWN.
(Bug #29719)
Fixed the glib2 check to require at least
glib2 2.6.0.
Fixed a crash if proxy.connection is used in
connect_server().
