• Mattias Jonsson's avatar
    Bug#50036: Inconsistent errors when using TIMESTAMP columns/expressions · e7dc80b8
    Mattias Jonsson authored
    It was hard to understand what the error really meant.
    
    The error checking in partitioning is done in several different
    parts during the execution of a query which can make it
    hard to return useful errors.
    
    Added a new error for bad VALUES part in the per PARTITION clause.
    Using the more verbose error that a column is not allowed in
    the partitioning function instead of just that the function is
    not allowed.
    e7dc80b8
partition_error.test 34.9 KB