Error "Invalid expression in the select list" can be unexpectedly raised if a string literal is used inside a GROUP BY clause in a multi-byte connection [CORE3807] #4150
Labels
affect-version: 2.1.0
affect-version: 2.1.1
affect-version: 2.1.2
affect-version: 2.1.3
affect-version: 2.1.4
affect-version: 2.5.0
affect-version: 2.5.1
affect-version: 3.0 Initial
component: engine
fix-version: 2.1.5
fix-version: 2.5.2
fix-version: 3.0 Alpha 1
priority: major
qa: done successfully
type: bug
Submitted by: @pavel-zotov
Relate to QA463
Simplified test case (to be executed with connection charset = UTF-8):
select
'Current time is ' || cast(a.t as varchar(15))
from
(select current_time t from rdb$database) a
group by
'Current time is ' || cast(a.t as varchar(15))
-- ERROR:
-- Invalid expression in the select list (not contained in either an aggregate function or the GROUP BY clause)
Commits: 8d50e30 3c9d334 9942d23 525149c b587289 8bffc57
The text was updated successfully, but these errors were encountered: