• Mattias Jonsson's avatar
    Bug#40972: some sql execution lead the whole databse crashing · 7ac77265
    Mattias Jonsson authored
    Problem was an errornous date that lead to end partition
    was before the start, leading to a crash.
    
    Solution was to check greater or equal instead of only
    equal between start and end partition.
    
    NOTE: partitioning pruning handles incorrect dates
    differently than index lookup, which can give different
    results in a partitioned table versus a non partitioned
    table for queries having 'bad' dates in the where clause.
    7ac77265
partition_pruning.test 25.7 KB