summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2021-04-08 17:25:02 +0300
committerSergei Petrunia <psergey@askmonty.org>2021-04-08 17:25:02 +0300
commitc03841ec0e2b7ac11711243d29821038b26e3edf (patch)
tree1761cc090dacff48aea0784644a693731c85f02d /sql/sql_acl.h
parent4e2ca42225311f73745c9eec309bc941183aba30 (diff)
downloadmariadb-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_acl.h')
0 files changed, 0 insertions, 0 deletions