apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: Column names with apr_dbd
Date Wed, 22 Feb 2006 02:03:52 GMT
Quoting Nick Kew <nick@webthing.com>:

> +APU_DECLARE(const char*) apr_dbd_get_name(const apr_dbd_driver_t *driver,
> +                                          apr_dbd_results_t *res, int col);

I'm having a feeling (after doing a bit of testing on this) that we 
should also include a pool in the list of arguments here. SQLite3, for 
instance, returns objects that disappear (due to the call to 
sqlite3_finalize) unless they are copied into a user specified pool. 
Some databases may not need to use this (e.g. PGSQL), so they can just 
ignore the pool.

Does that make sense?


View raw message