jlelse
/
GoSqliteBench
Archived
1
Fork 0

Modify open options

This commit is contained in:
Jan-Lukas Else 2021-09-04 12:27:44 +02:00
parent 88803df08b
commit 13e69ab2a1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func Benchmark_Mattn(b *testing.B) {
// Create and open database
db, err := sql.Open("sqlite3", filepath.Join(b.TempDir(), "db.db")+"?mode=rwc&_journal_mode=WAL&cache=shared")
db, err := sql.Open("sqlite3", filepath.Join(b.TempDir(), "db.db")+"?mode=rwc&_journal_mode=WAL")
require.NoError(b, err)
db.SetMaxOpenConns(10)