aboutsummaryrefslogtreecommitdiff
path: root/appservice/storage/sqlite3/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'appservice/storage/sqlite3/storage.go')
-rw-r--r--appservice/storage/sqlite3/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/appservice/storage/sqlite3/storage.go b/appservice/storage/sqlite3/storage.go
index 0cd1e4ab..0b0590f6 100644
--- a/appservice/storage/sqlite3/storage.go
+++ b/appservice/storage/sqlite3/storage.go
@@ -37,7 +37,7 @@ type Database struct {
func NewDatabase(dataSourceName string) (*Database, error) {
var result Database
var err error
- if result.db, err = sqlutil.Open(common.SQLiteDriverName(), dataSourceName); err != nil {
+ if result.db, err = sqlutil.Open(common.SQLiteDriverName(), dataSourceName, nil); err != nil {
return nil, err
}
if err = result.prepare(); err != nil {