()
| 783 | } |
| 784 | |
| 785 | func (db *DB) Logger() Logger { |
| 786 | if db == nil || db.logger == nil { |
| 787 | return getDiscardLogger() |
| 788 | } |
| 789 | return db.logger |
| 790 | } |
| 791 | |
| 792 | func (db *DB) beginTx() (*Tx, error) { |
| 793 | // Lock the meta pages while we initialize the transaction. We obtain |
no test coverage detected