Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 10482 invoked from network); 15 Dec 2007 23:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2007 23:28:07 -0000 Received: (qmail 78400 invoked by uid 500); 15 Dec 2007 23:27:56 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 78355 invoked by uid 500); 15 Dec 2007 23:27:56 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 78345 invoked by uid 99); 15 Dec 2007 23:27:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Dec 2007 15:27:56 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Dec 2007 23:27:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 89539714244 for ; Sat, 15 Dec 2007 15:27:44 -0800 (PST) Message-ID: <8547620.1197761264560.JavaMail.jira@brutus> Date: Sat, 15 Dec 2007 15:27:44 -0800 (PST) From: "James F. Adams (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3242) ij doesn't understand bracketed comments In-Reply-To: <25439448.1196552023191.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.