← Back to team overview

mysql-proxy-discuss team mailing list archive

SQL parser for mysql proxy

 

Hi,

I want to associate some semantics to each SQL query that gets executed. For
this purpose, I want to use an SQL parser in the mysql proxy to parse the
queries. I came across following article from Kay Roepke that talks about
using parser in the proxy:
http://www.mysqlconf.com/mysql2009/public/schedule/detail/7040
http://blogs.oracle.com/kay/entry/slides_from_advanced_query_manipulation

However, I was not able to find the source code for this parser. I looked
into ANTLR project, but it seems that they do not generate parser in lua
language.

Can anyone guide me how can I use SQL query parser in the mysql proxy?

-Thanks.