mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
Tweaks.
This commit is contained in:
@@ -262,8 +262,8 @@ func (b *bloom) Open() (sqlite3.VTabCursor, error) {
|
||||
|
||||
type cursor struct {
|
||||
*bloom
|
||||
eof bool
|
||||
arg *sqlite3.Value
|
||||
eof bool
|
||||
}
|
||||
|
||||
func (c *cursor) Filter(idxNum int, idxStr string, arg ...sqlite3.Value) error {
|
||||
|
||||
@@ -74,6 +74,8 @@ func initFlags() {
|
||||
// keep test flags
|
||||
os.Args[i] = arg
|
||||
i++
|
||||
case arg == "--":
|
||||
// ignore this
|
||||
default:
|
||||
// collect everything else
|
||||
options = append(options, arg)
|
||||
|
||||
Reference in New Issue
Block a user