diff options
author | drh <> | 2021-12-08 16:07:22 +0000 |
---|---|---|
committer | drh <> | 2021-12-08 16:07:22 +0000 |
commit | 132f96fc75496d93cc01be7dabb11eea55bddea2 (patch) | |
tree | 9b6da42488acb2d1def17c31a77df9fcbf42b2fc /src/util.c | |
parent | c436b3056d8da290fbd5870cea45e7547394051a (diff) | |
download | sqlite-132f96fc75496d93cc01be7dabb11eea55bddea2.tar.gz sqlite-132f96fc75496d93cc01be7dabb11eea55bddea2.zip |
In the WhereClause object, do not assume that all TERM_VIRTUAL terms appear
at the end of the list, because that is no longer true. Instead, keep a
separate nBase count that is the size of the list excluding the tail of
virtual terms. Use nBase instead of nTerm when scanning terms that are not
virtual. Add assert()s to validate correctness of WhereClause.
FossilOrigin-Name: 6024682ca467fa4fe49608772b0bbfa2f8a419b32cebfa715941073c8b29da49
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions