Skip to content

Multiline column headers in result grid show first line only #1566

@golimarrrr

Description

@golimarrrr

Preconditions

  • HeidiSQL version: 11.3.0.6295 and 12.0
  • Database type and version: MariaDB 10.6.7.0
  • OS: Win10

Describe the bug
When the SELECT fields contain functions and comments, the wrong column names are shown in the data grid

To Reproduce
Run:

SELECT
	MD5(1), -- one
	MD5(2), -- two
	MD5(3)  -- three
;

First column name will be MD5(1) -- ok
Second column name will be -- one -- wrong
Third column name will be -- two -- wrong

If no functions like MD5() are used, the content of comments is not shown in the column names

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedIssue verified by project memberenhancementEnhances an existing featurenettype-mysqlMySQL and/or MariaDB specific issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions