[
https://issues.apache.org/jira/browse/DERBY-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James F. Adams updated DERBY-3242:
----------------------------------
Attachment: Derby3242-v3.txt
Knut, thanks for reviewing the previous patch. I have uploaded another, and
hopefully final, patch proposal. I modified ij.jj to recognize nested
bracketed comments and added an additional test to IJRunScriptTest.java.
Ran derbyAll and suites.All and saw no errors I could attribute to this patch.
> ij doesn't understand bracketed comments
> ----------------------------------------
>
> Key: DERBY-3242
> URL: https://issues.apache.org/jira/browse/DERBY-3242
> Project: Derby
> Issue Type: Bug
> Components: SQL, Tools
> Affects Versions: 10.4.0.0
> Reporter: Knut Anders Hatlen
> Assignee: James F. Adams
> Attachments: comment.sql, comment2.sql, comment3.sql,
> Derby-3241-v2.txt, Derby-3242.txt, Derby3242-v3.txt
>
>
> When I execute this sql script in ij
> ------
> create table t (x int);
> /*
> insert into t values 1, 2, 3;
> insert into t values 4, 5, 6;
> */
> ------
> the first INSERT statement in the comment is correctly ignored, but the
> second one is executed. So after running the script, table T contains these
> rows:
> ij> select * from t;
> X
> -----------
> 4
> 5
> 6
> 3 rows selected
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.