summaryrefslogtreecommitdiff
path: root/bdb/hmac
diff options
context:
space:
mode:
authorGeorgi Kodinov <kgeorge@mysql.com>2008-10-01 18:50:55 +0300
committerGeorgi Kodinov <kgeorge@mysql.com>2008-10-01 18:50:55 +0300
commiteb3c08069db60d61f41dacb10fd6b73635fec236 (patch)
tree240ff077738b3ccfe88631d24d767a8a3ed1cada /bdb/hmac
parent652565d3622d2c6a81313aa6faf5e44fd2c9d57b (diff)
downloadmariadb-git-eb3c08069db60d61f41dacb10fd6b73635fec236.tar.gz
Bug#37943: Reproducible mysqld crash/sigsegv in sel_trees_can_be_ored
When analyzing the possible index use cases the server was re-using an internal structure. This is wrong, as this internal structure gets updated during the analysis. Fixed by making a copy of the internal structure for every place it needs to be used. Also stopped the generation of empty SEL_TREE structures that unnecessary complicate the analysis. mysql-test/r/index_merge.result: Bug#37943: test case mysql-test/t/index_merge.test: Bug#37943: test case sql/opt_range.cc: Bug#37943: - Make copy constructors for SEL_TREE and sub-structures and use them when OR-ing trees. - don't generate empty SEL_TREEs. Return NULL instead.
Diffstat (limited to 'bdb/hmac')
0 files changed, 0 insertions, 0 deletions