diff options
author | Ajo Robert <ajo.robert@oracle.com> | 2018-04-10 00:30:59 +0530 |
---|---|---|
committer | Ajo Robert <ajo.robert@oracle.com> | 2018-04-10 00:30:59 +0530 |
commit | 940b88b686bcf037a36f6e81be4017a07fcf782a (patch) | |
tree | 9e5cd4e35627586bfeb57dda77d73fcd5427a726 /sql/sql_update.cc | |
parent | d982e717aba67227ec40761a21a4211db91aa0e2 (diff) | |
download | mariadb-git-940b88b686bcf037a36f6e81be4017a07fcf782a.tar.gz |
Bug#27197235 USER VARIABLE + UINON + DECIMAL COLUMN RETURNS
WRONG VALUES
User variables will have the default session collation
associated with it. And a select which uses it as part of a
union may infer the collation while type merging.
This leads to problems when the result is of DECIMAL type.
Setting the appropriate collation of DECIMAL result type
is missing in 5.7 code base.
Added code to set appropriate collation when the result is
of DECIMAL type during Item_type_holder::join_types().
Diffstat (limited to 'sql/sql_update.cc')
0 files changed, 0 insertions, 0 deletions