diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-09-01 19:24:58 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-09-01 19:24:58 +0400 |
commit | 8ea9b8c0b168b3e5aad08886477d8726531abcd5 (patch) | |
tree | 3897e54df42462d6d5376bee3505a9b06f6e6a89 /sql/sql_cache.h | |
parent | a3c24ee7393ef08559b2a559909b42a400bfe692 (diff) | |
download | mariadb-git-8ea9b8c0b168b3e5aad08886477d8726531abcd5.tar.gz |
MDEV-8722 The patch for MDEV-8688 disabled equal field propagation for temporal column and BETWEEN and IN
Item::cmp_context was inconsistently used in combination with cmp_type()
and result_type() in different places of the code. Fixed to use cmp_type()
in all places where cmp_context is involved, to avoid unexpected results
for temporal data types (which have result_type()==STRING_RESULT and
cmp_type==TIME_RESULT).
Diffstat (limited to 'sql/sql_cache.h')
0 files changed, 0 insertions, 0 deletions