Fixes typo

This commit is contained in:
mattn
2013-08-23 14:26:33 +09:00
parent 3abc26b4ef
commit ac279b69bf
2 changed files with 11 additions and 7 deletions

View File

@@ -8,7 +8,11 @@ import (
)
func main() {
sql.Register("sqlite3_with_extensions", &sqlite3.SQLiteDriver{true, nil})
sql.Register("sqlite3_with_extensions",
&sqlite3.SQLiteDriver{
EnableLoadExtension: true,
ConnectHook: nil,
})
db, err := sql.Open("sqlite3_with_extensions", ":memory:")
if err != nil {