Description:
Using the tutorial lua script share/doc/mysql-proxy/tutorial-monitor.lua
and sending a query through the proxy like
mysql> use test;
I get on the terminal where I started the proxy
(critical) network_mysqld_proto_get_lenenc_int: assertion `off + 8 < packet->data->len' failed
How to repeat:
1- compile the proxy from the bzr repository
1a- Edit the lua script and add { resultset_is_needed = true } to the proxy.queries:append commands (line 169)
2- run the proxy like this
./sbin/mysql-proxy --proxy-backend-addresses=127.0.0.1:5067 --proxy-lua-script=share/doc/mysql-proxy/tutorial-monitor.lua
3- open a new terminal and send this query
USE test;
(or use any other database)
4- Go back to the proxy terminal and look for
(critical) network_mysqld_proto_get_lenenc_int: assertion `off + 8 < packet->data->len' failed
I tested with a 5.1.30 and 5.0.67 MySQL server back end
Description: Using the tutorial lua script share/doc/mysql-proxy/tutorial-monitor.lua and sending a query through the proxy like mysql> use test; I get on the terminal where I started the proxy (critical) network_mysqld_proto_get_lenenc_int: assertion `off + 8 < packet->data->len' failed How to repeat: 1- compile the proxy from the bzr repository 1a- Edit the lua script and add { resultset_is_needed = true } to the proxy.queries:append commands (line 169) 2- run the proxy like this ./sbin/mysql-proxy --proxy-backend-addresses=127.0.0.1:5067 --proxy-lua-script=share/doc/mysql-proxy/tutorial-monitor.lua 3- open a new terminal and send this query USE test; (or use any other database) 4- Go back to the proxy terminal and look for (critical) network_mysqld_proto_get_lenenc_int: assertion `off + 8 < packet->data->len' failed I tested with a 5.1.30 and 5.0.67 MySQL server back end