Iñaki Baz Castillo writes:
Log Message:
- Check that db connection exists before trying to make query.
- Do not close db connection if db query fails.
Isn't this stuf handled by db_xxxxx modules?
inaki,
the problem with the implementation was, that if db query failed (for example, because db server was down), allow_trusted code closed the db connection and then later tried to use the (non-existing) connection again without creating a new one.
now allow_trusted code does not close the db connection no matter what happens, but assumes that the low level stuff takes care of the problems.
-- juha