mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 03:47:51 +00:00
restrict query context scope to shards when shards are provided
This commit is contained in:
parent
43ede6f2d9
commit
cbb37d6887
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ func (e *executor) Execute(ctx context.Context, tableKeyer dax.TableKeyer, q *pq
|
|||
var qcx qc.QueryContext
|
||||
var err error
|
||||
if needWriteTxn {
|
||||
qcx, err = e.Holder.NewIndexQueryContext(ctx, index)
|
||||
qcx, err = e.Holder.NewIndexQueryContext(ctx, index, shards...)
|
||||
} else {
|
||||
qcx, err = e.Holder.NewQueryContext(ctx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue