Skip to content

Commit edc3bb6

Browse files
authored
Fix virtual table example. (#1149)
1 parent 85a15a7 commit edc3bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_example/vtable/vtable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (v *ghRepoTable) Open() (sqlite3.VTabCursor, error) {
6262
return &ghRepoCursor{0, repos}, nil
6363
}
6464

65-
func (v *ghRepoTable) BestIndex(cst []sqlite3.InfoConstraint, ob []sqlite3.InfoOrderBy) (*sqlite3.IndexResult, error) {
65+
func (v *ghRepoTable) BestIndex(csts []sqlite3.InfoConstraint, ob []sqlite3.InfoOrderBy) (*sqlite3.IndexResult, error) {
6666
used := make([]bool, len(csts))
6767
return &sqlite3.IndexResult{
6868
IdxNum: 0,

0 commit comments

Comments
 (0)