summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-04-28 11:20:52 +0200
committerSergei Golubchik <serg@mariadb.org>2020-04-30 10:13:21 +0200
commit6a31aea5a1a50614af3a6591a085dc47061cdd0e (patch)
tree0ccf8380952f2ec100acb5719001523ed3a5ba91 /sql/sql_parse.cc
parent69bd73173d041a06504161a0b93bb529737f2c84 (diff)
downloadmariadb-git-6a31aea5a1a50614af3a6591a085dc47061cdd0e.tar.gz
BUG#30301356 - SOME EVENTS ARE DELAYED AFTER DROPPING EVENT
queues.c cleanup and refactoring. Restore old version of _downhead() (from before cd483c55209) that works well in an average case. Use it for queue_fix(). Move existing specialized version of _downhead() to queue_replace() where it'll be handling the case it was specifically optimized for (moving the element to the end of the queue). And correct it to fix the heap not only down, but also up (this fixes BUG#30301356). Add unit tests. Collateral cosmetic fixes.
Diffstat (limited to 'sql/sql_parse.cc')
0 files changed, 0 insertions, 0 deletions