diff options
author | gkodinov/kgeorge@magare.gmz <> | 2007-10-18 15:19:04 +0300 |
---|---|---|
committer | gkodinov/kgeorge@magare.gmz <> | 2007-10-18 15:19:04 +0300 |
commit | d67cd9e8af1ffd30c3bedfda670a71ef87a66518 (patch) | |
tree | 9352ef29cde72ad44d19db97027cbdbea40ea30c /sql/frm_crypt.cc | |
parent | 18ecc5bb5a7e361add0ac4f912a5c831b5b1b9fd (diff) | |
download | mariadb-git-d67cd9e8af1ffd30c3bedfda670a71ef87a66518.tar.gz |
Bug #31221: Optimizer incorrectly identifies impossible WHERE clause
No warning was generated when a TIMESTAMP with a non-zero time part
was converted to a DATE value. This caused index lookup to assume
that this is a valid conversion and was returning rows that match
a comparison between a TIMESTAMP value and a DATE keypart.
Fixed by generating a warning on such a truncation.
Diffstat (limited to 'sql/frm_crypt.cc')
0 files changed, 0 insertions, 0 deletions