This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 156915

Summary: SQL CC in PHP not working with incomplete NOWDOCS
Product: db Reporter: David Vancouvering <davidvc>
Component: SQL EditorAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED FIXED    
Severity: blocker CC: romanmostyka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description David Vancouvering 2009-01-15 20:34:56 UTC
If you type in a NOWDOC string without correctly terminating it, SQL CC doesn't work.  Note that PHP CC does work.

For example:

        $var = <<<'NOW'
        select * from |

doesn't work but

        $var = <<<'NOW'
        select * from |
NOW;

does work.
Comment 1 Jiri Rechtacek 2009-02-10 15:36:54 UTC
Reassigned to new owner.
Comment 2 Jiri Skrivanek 2009-10-15 10:08:37 UTC
Fixed.
core-main #048dd77afcfc
Comment 3 Quality Engineering 2009-10-16 10:14:05 UTC
Integrated into 'main-golden', will be available in build *200910160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/048dd77afcfc
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #156915 - Handle UNKNOWN_TOKEN as possible SQL statement.