refs #258, always create a database in its own transaction.