MySQL Forums
Forum List  »  Router & Proxy

Re: hooking injected queries
Posted by: Jan Kneschke
Date: August 31, 2007 02:31PM

The result-set of injected Queries appears in read_query_result(), but read_query() is only called once per query sent by the client.

If you want to switch backends for a hand-crafted query inject the original query in read_query() and inject it again (inj.query) in read_query_result() + set proxy.connection.backend_ndx.

--
Jan Kneschke, MySQL Enterprise Tools

Options: ReplyQuote


Subject
Views
Written By
Posted
3672
August 30, 2007 08:35AM
Re: hooking injected queries
2235
August 31, 2007 02:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.