apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: apr_dbd_get_name() emulation in apr-util 1.2
Date Mon, 20 Apr 2009 11:54:54 GMT
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


Mime
View raw message