[
https://issues.apache.org/jira/browse/DERBY-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James F. Adams updated DERBY-3242:
----------------------------------
Attachment: Derby-3241-v2.txt
Thanks Knut for spending the time to review my previous patch proposal. I have
prepared a new patch proposal (Derby-3241-v2.txt) that incorporates your
suggestions.
In particular:
Scripts ending with bracketed comments are correctly handled.
I cleaned up the indentation to be in the style of the surrounding code.
Added the missing constants and removed the unnecessary state flags.
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, Derby-3241-v2.txt,
> Derby-3242.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.