summaryrefslogtreecommitdiff
path: root/sql/sql_parse.h
diff options
context:
space:
mode:
authorAlexander Barkov <alexander.barkov@oracle.com>2011-02-18 10:32:40 +0300
committerAlexander Barkov <alexander.barkov@oracle.com>2011-02-18 10:32:40 +0300
commit0db53b19b78c01d820463d727b0e73e97c5cd802 (patch)
tree96b1ff283e298e247c9c12941f453ac85b10078d /sql/sql_parse.h
parent17153276306d8e51cf8802833eaa067224a611f6 (diff)
downloadmariadb-git-0db53b19b78c01d820463d727b0e73e97c5cd802.tar.gz
Bug#60101 COALESCE with cp1251 tables causes [Err] 1267 - Illegal mix of collations
Problem: IF() did not copy collation derivation and repertoire from an argument if the opposite argument was NULL: IF(cond, res1, NULL) IF(cond, NULL, res2) only CHARSET_INFO pointer was copied. This resulted in illegal mix of collations error. Fix: copy all collation parameters from the non-NULL argument: CHARSET_INFO pointer, derivation, repertoire.
Diffstat (limited to 'sql/sql_parse.h')
0 files changed, 0 insertions, 0 deletions