mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
correct bug where slices were being ignored
This commit is contained in:
parent
47f7beaecc
commit
b3b29fad47
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ func (e *Executor) Execute(ctx context.Context, index string, q *pql.Query, slic
|
|||
|
||||
// If slices are specified, then use that value for slices. If slices aren't
|
||||
// specified, then include all of them.
|
||||
if needsSlices {
|
||||
if len(slices) == 0 && needsSlices {
|
||||
// Round up the number of slices.
|
||||
idx := e.Holder.Index(index)
|
||||
if idx == nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue