lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi all!
I'm created a client LUA that catch the query sent to a MySQL DB (using MySQL Proxy), writes it to a file .log and sends a message (for each queries captured) to a SQL parser (written in java). The problem is this: When i enter a query such as "USE database;" the client first captures a "nil information" and then the query itself; so
when i enter a query "USE database;" the client sends 2 messages instead of 1
How can I fix this?
Thank you very much

Chiacchiera con i tuoi amici da

Attachment: provaClient.lua
Description: Binary data