• Neeraj Bisht's avatar
    Bug#16208709 - CRASH IN GET_SEL_ARG_FOR_KEYPART ON SELECT DISTINCT · 5a4cdc5f
    Neeraj Bisht authored
    	       ON COL WITH COMPOSITE INDEX
    
    This problem is caused by the patch for the bug#11751794.
    While checking for the keypart covering non grouping attribute. we are not 
    checking whether the root node of the SEL_ARG* tree for the index have any 
    cvalue or not.
    
    sql/opt_range.cc:
      check whether the keeypart_tree has any range tree.
    5a4cdc5f
opt_range.cc 373 KB