Corrected WHERE-clause test when PRIOR operator is used
authorstlase@netbeans.org
Thu, 11 Apr 2013 13:54:39 +0200
changeset 374d1a3b88655ee
parent 373 546604c8847e
child 375 13bb2b59cb41
child 376 d12f98ea9393
Corrected WHERE-clause test when PRIOR operator is used
#EADS-3644
PLSQL/Annotation/src/org/netbeans/modules/plsql/annotation/annotations/PlsqlCursorWhereAnnotation.java
     1.1 --- a/PLSQL/Annotation/src/org/netbeans/modules/plsql/annotation/annotations/PlsqlCursorWhereAnnotation.java	Tue Apr 09 14:25:18 2013 +0200
     1.2 +++ b/PLSQL/Annotation/src/org/netbeans/modules/plsql/annotation/annotations/PlsqlCursorWhereAnnotation.java	Thu Apr 11 13:54:39 2013 +0200
     1.3 @@ -111,6 +111,8 @@
     1.4                 param1 = "";
     1.5                 param2 = "";
     1.6                 isCheck = true;
     1.7 +            } else if (token.text().toString().equalsIgnoreCase("PRIOR")) {
     1.8 +               isCheck = false;
     1.9              } else if (isCheck && param1.equals("") && token.id() != PlsqlTokenId.OPERATOR) {
    1.10                 param1 = getColumn(ts, block.getEndOffset());
    1.11              } else if (isCheck && param2.equals("") && token.id() != PlsqlTokenId.OPERATOR) {