diff options
author | Andrew Zhang <108556795+andrzh@users.noreply.github.com> | 2023-04-05 19:46:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 22:46:26 -0400 |
commit | edc3bb69551dcfff02651f083b21f3366ea2f5ab (patch) | |
tree | caac5fc3c0bd68fdae90d4c0b96f225e5c059c9d | |
parent | Add build tags to support both x86 and ARM compilation on macOS (#1069) (diff) | |
download | golite-edc3bb69551dcfff02651f083b21f3366ea2f5ab.tar.gz golite-edc3bb69551dcfff02651f083b21f3366ea2f5ab.tar.xz |
Fix virtual table example. (#1149)
-rw-r--r-- | _example/vtable/vtable.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_example/vtable/vtable.go b/_example/vtable/vtable.go index dd457ea..10d12a9 100644 --- a/_example/vtable/vtable.go +++ b/_example/vtable/vtable.go @@ -62,7 +62,7 @@ func (v *ghRepoTable) Open() (sqlite3.VTabCursor, error) { return &ghRepoCursor{0, repos}, nil } -func (v *ghRepoTable) BestIndex(cst []sqlite3.InfoConstraint, ob []sqlite3.InfoOrderBy) (*sqlite3.IndexResult, error) { +func (v *ghRepoTable) BestIndex(csts []sqlite3.InfoConstraint, ob []sqlite3.InfoOrderBy) (*sqlite3.IndexResult, error) { used := make([]bool, len(csts)) return &sqlite3.IndexResult{ IdxNum: 0, |