1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/mysql-proxy/code.lua

6 lines
143 B
Lua
Raw Normal View History

2016-05-09 15:33:08 +02:00
function read_query(packet)
if packet:byte() == proxy.COM_QUERY then
print("we got a normal query: " .. packet:sub(2))
end
end