[erlang-questions] Of regexes and REs, and other irritating things...

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Mon Aug 11 13:06:16 CEST 2014


On Mon, Aug 11, 2014 at 11:56 AM, Loïc Hoguin <essen@REDACTED> wrote:

> bank_mysql only offers the binary protocol and has a complete lack of
> bundling data inside the query string, or parsing the query string. I am
> not sure what you are talking about.
>

Try:

  CALL foo()

What does this return? It returns either 1 or 2 packets, depending on the
definition of foo() in the MySQL server :) Welcome to a really bad protocol
design.


-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140811/e0cec55f/attachment.htm>


More information about the erlang-questions mailing list