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 171865 - if "--" comment, line numbers incorrect report
Summary: if "--" comment, line numbers incorrect report
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
: 152885 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-10 05:30 UTC by err
Modified: 2009-09-15 10:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sql file to run (7.96 KB, text/plain)
2009-09-10 05:32 UTC, err
Details
output with bad line numbers after running script (5.35 KB, text/plain)
2009-09-10 05:33 UTC, err
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2009-09-10 05:30:55 UTC
Attached are an sql script and the output produced when this is run from the IDE. The line numbers reported for errors
is incorrect. If the "--" style comment lines are deleted, then the line numbers are correctly reported. 

(BTW, the sql script is the result of running some sed to convert and autogen'd mysql file to derby)
Comment 1 err 2009-09-10 05:32:13 UTC
Created attachment 87401 [details]
sql file to run
Comment 2 err 2009-09-10 05:33:29 UTC
Created attachment 87402 [details]
output with bad line numbers after running script
Comment 3 Jiri Skrivanek 2009-09-10 09:12:54 UTC
Fixed.
core-main #830cdd2e67b1
Comment 4 Quality Engineering 2009-09-11 21:35:39 UTC
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/830cdd2e67b1
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #171865 - Do not process \n twice if it is end of line comment.
Comment 5 Jiri Skrivanek 2009-09-15 10:36:15 UTC
*** Issue 152885 has been marked as a duplicate of this issue. ***