[MDEV-461] DNAMES: column names do not work with non-trivial encodings Created: 2012-08-16  Updated: 2012-08-21  Resolved: 2012-08-21

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 10.0.0

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-377 Name support for dynamic columns Closed

 Description   

A column created with a name in koi8r cannot be found:

set names koi8r;
 
select column_exists(column_create('имя','value'),'имя');
# +---------------------------------------------------------+
# | column_exists(column_create('имя','value'),'имя')       |
# +---------------------------------------------------------+
# |                                                       0 |
# +---------------------------------------------------------+

At the same time, for values it works:

set names koi8r;
 select column_get(column_create('name','значение'),'name' as char(16)) = 'значение';
+----------------------------------------------------------------------------------------------+
| column_get(column_create('name','значение'),'name' as char(16)) = 'значение'                 |
+----------------------------------------------------------------------------------------------+
|                                                                                            1 |
+----------------------------------------------------------------------------------------------+

bzr version-info

revision-id: elenst@ubuntu11.home-20120813090607-jtuq5p0umts16h5h
date: 2012-08-13 13:06:07 +0400
build-date: 2012-08-16 05:11:01 +0400
revno: 3490



 Comments   
Comment by Oleksandr Byelkin [ 2012-08-21 ]

fixed

Generated at Thu Feb 08 06:28:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.