diff options
author | svoj@mysql.com/june.mysql.com <> | 2008-02-19 18:16:17 +0400 |
---|---|---|
committer | svoj@mysql.com/june.mysql.com <> | 2008-02-19 18:16:17 +0400 |
commit | 921e1cc4bb217b74f29e3e0b28df253df34c8d83 (patch) | |
tree | 5da3619ac6e455f0f7ea21af3e87a903cfafa055 /mysql-test/r | |
parent | b620694ba360a6a2f051adafaf6f25e45bf2fa1b (diff) | |
download | mariadb-git-921e1cc4bb217b74f29e3e0b28df253df34c8d83.tar.gz |
BUG#34289 - Incorrect NAME_CONST substitution in stored procedures
breaks replication
NAME_CONST() didn't replicate constant character set and collation
correctly.
With this fix NAME_CONST() inherits collation from the value argument.
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/func_misc.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/func_misc.result b/mysql-test/r/func_misc.result index 4f6b6d3a0d8..fa9ca3539d6 100644 --- a/mysql-test/r/func_misc.result +++ b/mysql-test/r/func_misc.result @@ -225,4 +225,7 @@ select min(a) from t1 group by inet_ntoa(a); min(a) -2 drop table t1; +SELECT NAME_CONST('var', 'value') COLLATE latin1_general_cs; +NAME_CONST('var', 'value') COLLATE latin1_general_cs +value End of 5.0 tests |