From cac1feb8c7c32492dae6f55b3f543004e817366c Mon Sep 17 00:00:00 2001 From: Gert-Jan Timmer Date: Tue, 29 May 2018 12:19:57 +0200 Subject: [PATCH] Update Comments --- sqlite3.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sqlite3.go b/sqlite3.go index dc8f373..2a98d18 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -944,7 +944,7 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) { } } - // Defer Foreign Keys + // Defer Foreign Keys (_defer_foreign_keys | _defer_fk) // // https://www.sqlite.org/pragma.html#pragma_defer_foreign_keys // @@ -962,11 +962,11 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) { case "1", "yes", "true", "on": deferForeignKeys = 1 default: - return nil, fmt.Errorf("Invalid _foreign_keys: %v, expecting boolean value of '0 1 false true no yes off on'", val) + return nil, fmt.Errorf("Invalid _defer_foreign_keys: %v, expecting boolean value of '0 1 false true no yes off on'", val) } } - // Foreign Keys (_foreign_keys) + // Foreign Keys (_foreign_keys | _fk) // // https://www.sqlite.org/pragma.html#pragma_foreign_keys //