https://issues.apache.org/bugzilla/show_bug.cgi?id=46421





--- Comment #3 from SteveW <[email protected]>  2008-12-22 08:06:59 PST 
---
Ok, what I finally ended up with (after applying this change directly to the
original modules) is this:

char *tstring;

            if (rv == 0) {
                group = apr_array_push(groups);
                tstring = apr_dbd_get_entry(dbd->driver, row, 0);
                *group = apr_pcalloc(r->pool, strlen(tstring) + 1);
                strcpy(*group, tstring);
            }

I'm using the mysql driver and have not tried this against any other.


Interesting that the mysql driver might be reusing the same location to return
each group but others are not.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to