• Martin Hansson's avatar
    Bug#47762: Incorrect result from MIN() when WHERE tests NOT · 7dc69322
    Martin Hansson authored
    NULL column for NULL
    
    The optimization to read MIN() and MAX() values from an
    index did not properly handle comparisons with NULL
    values. Fixed by giving up the particular optimization step
    if there are non-NULL safe comparisons with NULL values, as 
    the result is NULL anyway.
    
    Also, Oracle copyright notice was added to all files.
    7dc69322
opt_sum.cc 34.1 KB