summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorEvgeny Potemkin <epotemkin@mysql.com>2009-12-09 18:43:45 +0300
committerEvgeny Potemkin <epotemkin@mysql.com>2009-12-09 18:43:45 +0300
commit69fa790fbd4f9b83b853b53ba1b64965fe88c454 (patch)
tree0eaf38662312ba5a5a800fbc6c47933862c0f967 /sql/item_cmpfunc.h
parent514f4814d573c1ae5b9d450a782fc321d7b3eba7 (diff)
downloadmariadb-git-69fa790fbd4f9b83b853b53ba1b64965fe88c454.tar.gz
Bug#49489: Uninitialized cache led to a wrong result.
Arg_comparator uses Item_cache objects to store constants being compared when they're need a type conversion. Because this cache wasn't initialized properly Arg_comparator might produce wrong comparison result. The Arg_comparator::cache_converted_constant function now initializes cache prior to usage.
Diffstat (limited to 'sql/item_cmpfunc.h')
0 files changed, 0 insertions, 0 deletions