1.0.13dev: Don't raise exception if connection is closed
1.0.13dev: Don't raise exception if connection is closed

This fixes a test failure with in-memory SQLite database:
ProgrammingError: Cannot operate on a closed database.

Refs #9612.


git-svn-id: 50cd48c816abc7a9f40e8e03a4277466cb30a3e4@15018 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac