• unknown's avatar
    BUG#34289 - Incorrect NAME_CONST substitution in stored procedures · f802cd51
    unknown authored
                breaks replication
    
    NAME_CONST() didn't replicate constant character set and collation
    correctly.
    
    With this fix NAME_CONST() inherits collation from the value argument.
    
    
    mysql-test/r/func_misc.result:
      A test case for BUG#34289.
    mysql-test/t/func_misc.test:
      A test case for BUG#34289.
    sql/item.cc:
      Inherit collation from value argument.
    f802cd51
func_misc.test 5.97 KB