Fix API inconsistency.

This commit is contained in:
Nuno Cruces
2024-07-26 12:25:15 +01:00
parent 32d998c84b
commit 73125945f8
10 changed files with 11 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ func (c *cursor) RowID() (int64, error) {
return int64(c.rowID), nil
}
func (c *cursor) Column(ctx *sqlite3.Context, n int) error {
func (c *cursor) Column(ctx sqlite3.Context, n int) error {
if n != 0 {
return nil
}

View File

@@ -120,7 +120,7 @@ func Test_cursor_Column(t *testing.T) {
want = want[1:]
}
if err := rows.Err(); err != nil {
log.Fatal(err)
t.Fatal(err)
}
}