summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-09-01 19:24:58 +0400
committerAlexander Barkov <bar@mariadb.org>2015-09-01 19:24:58 +0400
commit8ea9b8c0b168b3e5aad08886477d8726531abcd5 (patch)
tree3897e54df42462d6d5376bee3505a9b06f6e6a89 /sql/sql_cache.h
parenta3c24ee7393ef08559b2a559909b42a400bfe692 (diff)
downloadmariadb-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