1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-06-19 00:07:40 +02:00

update mysql-proxy

This commit is contained in:
kev
2016-05-09 23:28:47 +08:00
parent 0cd923ef0b
commit f7859319ec
6 changed files with 45 additions and 3 deletions

View File

@ -1,3 +1,5 @@
io.stdout:setvbuf 'no'
function read_query(packet)
if packet:byte() == proxy.COM_QUERY then
print("we got a normal query: " .. packet:sub(2))