• Evgeny Potemkin's avatar
    Bug#56271: Wrong comparison result with STR_TO_DATE function · e408bf4e
    Evgeny Potemkin authored
    The Item_func_str_to_date class wasn't providing correct integer DATETIME
    representation as expected. This led to wrong comparison result and didn't
    allowed the STR_TO_DATE function to be used with indexes.
    Also, STR_TO_DATE function was inconsisted on throwing warnings/errors.
    Fixed now.
    
    val_int and result_as_longlong methods were added to the Item_func_str_to_date
    class. 
    e408bf4e
func_time.result 53.5 KB