ConnectionUnitTest::testOpenClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a select query.
Database::removeConnection in core/includes/database/database.inc
Remove a connection and its corresponding connection information.
DatabaseConnectionTestCase::testConnectionClosing in core/modules/simpletest/tests/database_test.test
Tests the closing of a database connection.
db_close in core/includes/database/database.inc
Closes the active database connection.