• Georgi Kodinov's avatar
    Bug#37943: Reproducible mysqld crash/sigsegv in sel_trees_can_be_ored · e59a0361
    Georgi Kodinov authored
                
    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.
    e59a0361
index_merge.result 23.9 KB