Skip to content

Commit 18cdded

Browse files
pomadevmattn
authored andcommitted
fix: some typos
1 parent 6ee3e67 commit 18cdded

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sqlite3.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) {
16791679
}
16801680
}
16811681

1682-
// Forgein Keys
1682+
// Foreign Keys
16831683
if foreignKeys > -1 {
16841684
if err := exec(fmt.Sprintf("PRAGMA foreign_keys = %d;", foreignKeys)); err != nil {
16851685
C.sqlite3_close_v2(db)

sqlite3_opt_userauth.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var (
8686
// combination is incorrect or unknown.
8787
//
8888
// If the SQLITE_USER table is not present in the database file, then
89-
// this interface is a harmless no-op returnning SQLITE_OK.
89+
// this interface is a harmless no-op returning SQLITE_OK.
9090
func (c *SQLiteConn) Authenticate(username, password string) error {
9191
rv := c.authenticate(username, password)
9292
switch rv {

0 commit comments

Comments
 (0)