diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2020-06-27 12:55:55 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2020-06-27 12:55:55 +0530 |
commit | 37cb7a0071febdba7a5ae61c2cd9e87def37454e (patch) | |
tree | b2027fa06b3ce56a6a02172d74a69444e68a935f /sql/signal_handler.cc | |
parent | 3bc89395529b099ef744953263ddc10b1f0ea1bd (diff) | |
download | mariadb-git-37cb7a0071febdba7a5ae61c2cd9e87def37454e.tar.gz |
MDEV-17606: Query returns wrong results (while using CHARACTER SET utf8)
The issue here was that the left expr and right expr of the ANY subquery
had different character sets, so we were converting the left expr to utf8 character set.
So when this conversion was happening we were actually converting the item inside the cache,
it looked like <cache>(convert(t1.l1 using utf8)), which is incorrect.
To fix this problem we are going to store the reference of the left expr and convert that
to utf8 character set, it would look like convert(<cache>(`test`.`t1`.`l1`) using utf8)
Diffstat (limited to 'sql/signal_handler.cc')
0 files changed, 0 insertions, 0 deletions