View Issue Details

IDProjectCategoryView StatusLast Update
0001139Database Workbench v5Firebird Modulepublic2017-04-18 13:25
ReporterWolfgang Rohdewald Assigned ToMartijn Tonies  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version5.0.6 
Fixed in Version5.3.0 
Summary0001139: Syntax check shows false negative for unused variable in stored procedure
DescriptionWhen saving the procedure as defined below, I get the warning

    Value assigned to "a" never used.

Obviously, the exception expression is not parsed correctly.

```
SET TERM ^^ ;
CREATE PROCEDURE testusage
AS
declare variable a integer;
BEGIN
        a=5;
        exception test 'a ist:'||a;
end ^^
SET TERM ; ^^
```
TagsNo tags attached.

Activities

Martijn Tonies

2017-02-06 13:54

administrator   ~0000410

FYI, the expression was parsed completely, but the used variable wasn't tagged as being used.

Issue History

Date Modified Username Field Change
2015-01-13 05:20 Wolfgang Rohdewald New Issue
2015-01-13 12:37 Martijn Tonies Assigned To => Martijn Tonies
2015-01-13 12:37 Martijn Tonies Status new => acknowledged
2015-01-20 09:46 Martijn Tonies Category General => Firebird Module
2015-01-20 09:46 Martijn Tonies Summary SQL editor shows false negative for unused variable in stored procedure => Syntax check shows false negative for unused variable in stored procedure
2017-02-06 13:54 Martijn Tonies Note Added: 0000410
2017-02-06 13:54 Martijn Tonies Status acknowledged => resolved
2017-02-06 13:54 Martijn Tonies Fixed in Version => 5.3.0
2017-02-06 13:54 Martijn Tonies Resolution open => fixed
2017-04-18 13:25 Martijn Tonies Status resolved => closed