update dictionaries (#1326)

This commit is contained in:
sadayuki-matsuno
2021-10-29 11:24:49 +09:00
committed by GitHub
parent 321dae37ce
commit ffdb78962f
7 changed files with 20 additions and 20 deletions

View File

@@ -88,7 +88,7 @@ func newGostDB(cnf config.GostConf) (driver db.DB, locked bool, err error) {
if cnf.GetType() == "sqlite3" {
path = cnf.GetSQLite3Path()
}
if driver, locked, err = db.NewDB(cnf.GetType(), path, cnf.GetDebugSQL()); err != nil {
if driver, locked, err = db.NewDB(cnf.GetType(), path, cnf.GetDebugSQL(), db.Option{}); err != nil {
if locked {
return nil, true, xerrors.Errorf("gostDB is locked. err: %w", err)
}