diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2021-04-08 17:25:02 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2021-04-08 17:25:02 +0300 |
commit | c03841ec0e2b7ac11711243d29821038b26e3edf (patch) | |
tree | 1761cc090dacff48aea0784644a693731c85f02d /sql/sql_sequence.cc | |
parent | 4e2ca42225311f73745c9eec309bc941183aba30 (diff) | |
download | mariadb-git-bb-10.4-mdev23634.tar.gz |
MDEV-23634: Select query hanged the server and leads to OOM ...bb-10.4-mdev23634
Handle "col<>const" in the same way that MDEV-21958 did for
"col NOT IN(const-list)": do not use the condition for range/index_merge
accesses if there is a unique UNIQUE KEY(col).
The testcase is in main/range.test. The rest of test updates are
due to widespread use of 'pk<>1' in the testsuite. Changed the test
to use different but equivalent forms of the conditions.
Diffstat (limited to 'sql/sql_sequence.cc')
0 files changed, 0 insertions, 0 deletions