View Issue Details

IDProjectCategoryView StatusLast Update
0001177Database Workbench v5Firebird Modulepublic2018-02-15 14:50
ReporterSvein Erling Tysvær Assigned ToMartijn Tonies  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Product Version5.0.10 
Summary0001177: Error on prepare: 'TPlanParser.ParsePlanJoin: Unrecognized text: "("'
DescriptionThe below SQL gives the above error if preparing in a newly opened SQL window.
Steps To Reproducewith tmp1(Martijn) as (select (select 'Martijn'
                               from rdb$database)
                       from rdb$database),
     tmp2(Tonies) as (select 'Tonies' from rdb$database),
     tmp3 as (select tmp1.Martijn, tmp2.Tonies
              from tmp1
              join tmp2 on tmp1.Martijn = tmp2.Tonies)
select *
from tmp3
Additional InformationIf first preparing without the innermost subselect, then it will work after putting the subselect back in.

This query works in 4.4.8, but not in 5.0.10

I almost sent you a 183 line SQL (+ DDL) since my first attempt to simplify my problem resulted in error 0001168, which I failed to notice was fixed in 5.1.0 and not 5.0.10.
TagsNo tags attached.

Activities

Martijn Tonies

2015-02-26 11:43

administrator   ~0000363

Thank you for the simpler reproducing case!

Martijn Tonies

2018-02-15 14:50

administrator   ~0000456

0001487

Issue History

Date Modified Username Field Change
2015-02-25 11:59 Svein Erling Tysvær New Issue
2015-02-26 11:43 Martijn Tonies Note Added: 0000363
2015-02-26 11:43 Martijn Tonies Assigned To => Martijn Tonies
2015-02-26 11:43 Martijn Tonies Status new => acknowledged
2018-02-15 14:50 Martijn Tonies Note Added: 0000456
2018-02-15 14:50 Martijn Tonies Status acknowledged => closed
2018-02-15 14:50 Martijn Tonies Resolution open => duplicate