Skip to content

Commit e065cb2

Browse files
vr009cschleiden
andcommitted
fix(samples): correct database creation query syntax
Co-authored-by: Christopher Schleiden <[email protected]>
1 parent 23b924e commit e065cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func GetBackend(name string, recreate bool, opt ...backend.BackendOption) backen
5353
}
5454
defer db.Close()
5555

56-
_, err = db.Exec("CREATE DATABASE $1", name)
56+
_, err = db.Exec("CREATE DATABASE " + name)
5757
if err != nil {
5858
panic(err)
5959
}

0 commit comments

Comments
 (0)