Don’t use non-default isolation level for mysql

This commit is contained in:
Tobie Morgan Hitchcock 2018-02-11 16:14:42 +00:00
parent 3194253b71
commit 8b508b09c6

View file

@ -51,7 +51,6 @@ func (db *DB) Close() (err error) {
func (db *DB) opt(writable bool) *sql.TxOptions {
return &sql.TxOptions{
ReadOnly: !writable,
Isolation: sql.LevelReadCommitted,
ReadOnly: !writable,
}
}