summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_misc.result
diff options
context:
space:
mode:
authorLeonard Zhou <zhou.li@sun.com>2009-03-26 15:38:17 +0800
committerLeonard Zhou <zhou.li@sun.com>2009-03-26 15:38:17 +0800
commit8c5bba72353e609522201962bdc025eff2cc6184 (patch)
treef93bb45712374aa2388c259a0dc079dff4e5cb8f /mysql-test/r/func_misc.result
parentd6634f461b9622c8bea9011a80528cfcb4ef32d3 (diff)
downloadmariadb-git-8c5bba72353e609522201962bdc025eff2cc6184.tar.gz
BUG#35515 Aliases of variables in binary log are ignored with NAME_CONST.
When add an aliase name after NAME_CONST, the aliase name will be overwrite. NAME_CONST will re-set the field's name only if there isn't an aliase in the function fix-fields(). If there is an aliase, NAME_CONST doesn't re-set the field's name and keeps the old name.
Diffstat (limited to 'mysql-test/r/func_misc.result')
-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 e57d46c006a..9f2fcb06638 100644
--- a/mysql-test/r/func_misc.result
+++ b/mysql-test/r/func_misc.result
@@ -324,4 +324,7 @@ SELECT * FROM t1 WHERE a = NAME_CONST('reportDate',
_binary'2009-01-09' COLLATE 'binary');
a
DROP TABLE t1;
+select NAME_CONST('_id',1234) as id;
+id
+1234
End of 5.0 tests