Select as column has no parenthesis

Bug #276741 reported by Jürgen Kartnaller
2
Affects Status Importance Assigned to Milestone
Storm
New
Undecided
Unassigned

Bug Description

If a Select expression is used as a column in a select it is not surrounded by parenthesis.

Something like this :

 selCol = Select(...)
 select = Select(selCol, ...)

results in

 "SELECT SELECT ... ..."

where it should be

 " SELECT (SELECT ...) ..."

Workaround :

 selCol = Alias(Select(...))

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.