Skip to content

2.23.0.0-b432

Summary:
`YbPredetermineNeedsRecheck` was called with `*ybscan->keys, ybscan->nkeys`, which may not be fully initialised at the time of calling. The other use of `YbPredetermineNeedsRecheck` uses the keys from the `IndexScanState`. Doing the same thing for bitmap scans allows it to use the fully initialized scan keys.

To make it clear that it's now the caller's responsibility to determine if recheck is required, I included `recheck` as a parameter in the`yb_amgetbitmap_function`.
Jira: DB-10683

Test Plan:
```
./yb_build.sh --java-test 'org.yb.pgsql.TestPgRegressYbBitmapScans'
```

Reviewers: tnayak, amartsinchyk

Reviewed By: amartsinchyk

Subscribers: yql

Differential Revision: https://phorge.dev.yugabyte.com/D35390
Assets 2
Loading