[redland-dev] Free MySQL Connections

Simon Cross simon at sanbi.ac.za
Mon Jan 10 09:54:16 PST 2005


Greetings,

I'm using the Redland PHP bindings.  If I perform a query but stop
iterating through the results before they've been exhausted then MySQL
connections are left hanging until the process exits.  If I iterate all
the way through the results then the connections get closed.

I'd like to have the temporary connections associated with the query be
closed once the result and query have been freed (even if the full
results weren't used).

Any idea how I could achieve this?

Schiavo
Simon




More information about the redland-dev mailing list