• tnurnberg@mysql.com/white.intern.koehntopp.de's avatar
    Bug#31800: Date comparison fails with timezone and slashes for greater than comparison · dd7452c2
    BETWEEN was more lenient with regard to what it accepted as a DATE/DATETIME
    in comparisons than greater-than and less-than were. ChangeSet makes < >
    comparisons similarly robust with regard to trailing garbage (" GMT-1")
    and "missing" leading zeros. Now all three comparators behave similarly
    in that they throw a warning for "junk" at the end of the data, but then
    proceed anyway if possible. Before < > fell back on a string- (rather than
    date-) comparison when a warning-condition was raised in the string-to-date
    conversion. Now the fallback only happens on actual errors, while warning-
    conditions still result in a warning being to delivered to the client.
    dd7452c2
item_cmpfunc.cc 126 KB