• Alexander Barkov's avatar
    A follow-up for WL#5624: Collation customization improvements · e18ec471
    Alexander Barkov authored
    The reasons for failures to initialize a user collation defined
    in Index.xml are now correctly reported                                  
    (in SHOW WARNINGS and in the server error log) if the COLLATE clause
    is used with an expression, e.g.:
    
      SELECT <exrp> COLLATE <collation name> FROM t1;
    
    Previously, the failure reasons were reported only by COLLATE clauses
    in SET NAMES and in DDL statements, e.g.:
    
      SET NAMES utf8 COLLATE utf8_xxx_ci;
      CREATE TABLE t1 (a VARCHAR(1) CHARACTER SET utf8 COLLATE utf8_xxx_ci);
    e18ec471
item_strfunc.cc 136 KB