List:Internals« Previous MessageNext Message »
From:Vangelis Katsikaros Date:May 2 2008 3:46pm
Subject:mysql proxy questions
View as plain text  
Hello

I would like to ask for directions, concerning mysql proxy internal
structures, but I am not sure whether this should go in the internals
mailing list or in the mysql proxy forum :)

I've read the available documentation in mysql manual and most of the
example scripts in the mysql forge site. However, I can't find enough
reference about the internals structures, which are accessible from the
lua proxy scripts.

So, I would like to ask if there is another source of reference for them.

More specificly I have difficulty in doing the following things:
* Client sends a query and then the server returns a resultset. How can 
I store the resultset in order to send it later to the client (in the 
meantime proxy and server exchange other queries and I want to send the 
resultset of the client's query in the end of the exchage).
There are some examples that cover some parts of what I am trying to do 
like (http://forge.mysql.com/tools/tool.php?id=129) . However I can't 
find reference for the proxy.response or other things.

* How can I understand whether the response from the server (for example
after an INSERT) is something like "Query OK, 1 row affected" without 
warnings or errors. Is the "proxy.MYSQLD_PACKET_OK" enough or is this 
about the network level?

I guess answers can always be found in mysql proxy source code
(http://svn.mysql.com/svnpublic/mysql-proxy/tags/mysql-proxy-0.6.0/src/). 
If there isn't any reference for any of the above, it would be really 
helpful, if someone could give some tips about where to start looking.

Regards
Vangelis Katsikaros





__________________________________________________
×ñçóéìïðïéåßôå
Yahoo!;
ÂáñåèÞêáôå ôá
åíï÷ëçôéêÜ
ìçíýìáôá (spam);   Ôï
Yahoo! Mail äéáèÝôåé
ôçí êáëýôåñç
äõíáôÞ
ðñïóôáóßá
êáôÜ ôùí
åíï÷ëçôéêþí
ìçíõìÜôùí  
http://mail.yahoo.gr 

Thread
mysql proxy questionsVangelis Katsikaros2 May 2008
  • Re: mysql proxy questionsJan Kneschke2 May 2008
    • Re: mysql proxy questionsVangelis Katsikaros2 May 2008
      • Re: mysql proxy questionsJay Pipes2 May 2008