Bloom filter virtual table (#103)

This commit is contained in:
Nuno Cruces
2024-06-18 23:42:20 +01:00
committed by GitHub
parent 58e91052bb
commit 3479e8935a
11 changed files with 445 additions and 10 deletions

View File

@@ -9,6 +9,7 @@ package csv
import (
"bufio"
"encoding/csv"
"errors"
"fmt"
"io"
"io/fs"
@@ -69,7 +70,7 @@ func RegisterFS(db *sqlite3.Conn, fsys fs.FS) {
}
if (filename == "") == (data == "") {
return nil, fmt.Errorf(`csv: must specify either "filename" or "data" but not both`)
return nil, errors.New(`csv: must specify either "filename" or "data" but not both`)
}
table := &table{