We're updating the issue view to help you get more done. 

DNAMES: column_list returns an empty string if at least one column has a symbolic name

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 select column_list(column_create('a', 'val1')); # +-----------------------------------------+ # | column_list(column_create('a', 'val1')) | # +-----------------------------------------+ # | | # +-----------------------------------------+ # 1 row in set (0.00 sec) select length(column_list(column_create('a', 'val1'))); # +-------------------------------------------------+ # | length(column_list(column_create('a', 'val1'))) | # +-------------------------------------------------+ # | 0 | # +-------------------------------------------------+ # 1 row in set (0.00 sec)

For numeric identifiers seems to work all right:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 select column_list(column_create(1, 'val1')); # +---------------------------------------+ # | column_list(column_create(1, 'val1')) | # +---------------------------------------+ # | `1` | # +---------------------------------------+ # 1 row in set (0.00 sec) select length(column_list(column_create(1, 'val1'))); # +-----------------------------------------------+ # | length(column_list(column_create(1, 'val1'))) | # +-----------------------------------------------+ # | 3 | # +-----------------------------------------------+ # 1 row in set (0.00 sec)

bzr version-info

1 2 3 4 revision-id: elenst@ubuntu11.home-20120813090607-jtuq5p0umts16h5h date: 2012-08-13 13:06:07 +0400 build-date: 2012-08-16 04:26:14 +0400 revno: 3490

Environment

None

Status

Assignee

Oleksandr Byelkin

Reporter

Elena Stepanova

Fix versions

Priority

Major