apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Kent <m...@bravenet.com>
Subject Re: apr_dbd: supporting multiple selects + results sets
Date Mon, 14 May 2007 22:49:22 GMT
On Sun, 2007-13-05 at 18:31 +1000, Ian Holsman wrote:
> Hi Guys,
> One of the 'new' features of mysql (in 5.0) is the support of multiple 
> result sets being returned to the client, and the ability to send 
> multiple statements in 1 shot by setting a flag when you open the 
> connection. Multiple result sets are also required if you intent to call 
> stored procs.
> I plan on using it to pipeline SQL requests, and to call stored procs in 
> mysql.
> So.. 2 questions.
> Is this functionality interesting for the APR DBD library in general,

+1 usefulness from me. I'd love this implemented properly. 

It's been very useful for me with mod_dbd and another module in keeping
my big sql queries out of the apache config. Plus having to restart the
web server constantly to change the query.

In case anyone else needs something now here's my quick fix to allow
calling a MySQL stored procedure without returning an error. It only
handles the first result set. Against latest apr_dbd_mysql.c
Matthew Kent \ SA \ bravenet.com

View raw message