dev  

Re: apr_dbd_get_name() emulation in apr-util 1.2

Bojan Smojver
Mon, 20 Apr 2009 04:55:29 -0700

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 the file. This will break every
time internals of 1.2.x apr-util are changed, of course. We are not
planning any more 1.2.x releases, but be warned.

Also, you could probably issue some DB specific SQL commands to get back
column names and then go from there.

-- 
Bojan