Browse Source
Fix for bug#47963: Wrong results when index is used
Fix for bug#47963: Wrong results when index is used
Problem: using null microsecond part in a WHERE condition (e.g. WHERE date_time_field <= "YYYY-MM-DD HH:MM:SS.0000") may lead to wrong results due to improper DATETIMEs comparison in some cases. Fix: comparing DATETIMEs as strings we must trim trailing 0's in such cases.pull/47/merge
3 changed files with 98 additions and 7 deletions
Write
Preview
Loading…
Cancel
Save
Reference in new issue