apr_dbd_get_name() emulation in apr-util 1.2

2009-04-20 Thread Dave Ingram
Hi all, I've recently discovered that the current stable version of Debian ships with apr-util 1.2 (even though 1.3 has been out for eight months!), but an Apache module that I've written relies on fetching column names from a database query. Does anyone have any suggestions as to how I could

Re: apr_dbd_get_name() emulation in apr-util 1.2

2009-04-20 Thread Bojan Smojver
On Mon, 2009-04-20 at 11:45 +0100, Dave Ingram wrote: Does anyone have any suggestions as to how I could emulate this for systems using older versions of apr-util? One (terrible) way to do it is here: http://www.rexursive.com/svn/mod_spin/trunk/src/db.c Look for words: BIG TIME CHEATING in