Great! i'll be looking into it shortly.
Aaron Stone heeft op zondag, 15 dec 2002 om 22:17 (Europe/Amsterdam)
het volgende geschreven:
Roel,
Here's a diff that has a pair of #ifndef blocks in it, one for pgsql
and
one for mysql, so that if DBMail is set to use the same connection for
db
and for auth, then the auth_connect() and auth_disconnect() functions
will
simply return 0, but if the connections are separate, then they will
open
up a new link to the database. This should provide the infrastructure
required to add an auth_connect() along with every db_connect() call
without making a mess of the same connection status.
Aaron
<use_same_conn_1.diff>