summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorsvoj@mysql.com/june.mysql.com <>2008-02-19 18:16:17 +0400
committersvoj@mysql.com/june.mysql.com <>2008-02-19 18:16:17 +0400
commit921e1cc4bb217b74f29e3e0b28df253df34c8d83 (patch)
tree5da3619ac6e455f0f7ea21af3e87a903cfafa055 /mysql-test/r
parentb620694ba360a6a2f051adafaf6f25e45bf2fa1b (diff)
downloadmariadb-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.result3
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