Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed May 2, 2024
1 parent 4c30ec4 commit 1da0c86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions storage/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ func (e *engine) initSQLDatabase() error {
}

func sqliteConnectionString(datadir string) string {
// _pragma=foreign_keys(1)&_time_format=sqlite
// return "sqlite:file:" + path.Join(datadir, "sqlite.db?_journal_mode=WAL&_foreign_keys=on")
return "sqlite:file:" + path.Join(datadir, "sqlite.db?_pragma=foreign_keys(1)&journal_mode(WAL)")
}

Expand Down

0 comments on commit 1da0c86

Please sign in to comment.