On Fri, Oct 10, 2008 at 05:15:23PM -0700, Brian Aker wrote:
> I am thinking we should header the protocol so that each statement is in 
> its own envelope. You can still send multiple SQL statements in the same 
> packet, but not via a simple delimiter.

Agreed! Multiple CMD_QUERY packets, which may (or may not depending on
size) be in the same TCP packet. I'll be sure the new client library
supports this.

Speaking of pipelining commands, how difficult will it be to enable
the server to execute multiple commands in parallel for a single
connection? This allows it to start running the second query before
the first finishes, and the result packets will be uniquely tagged
and potentially interleaved. We've discussed this before, but I'm
curious where this sits on the TODO list.

> And while we are at it remove the delimiter command and make sure all of 
> its logic is in the client, not the server.

++  Server/parser should not know of such things.

-Eric

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to