Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 69956 invoked from network); 8 Jul 2005 07:49:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jul 2005 07:49:30 -0000 Received: (qmail 80537 invoked by uid 500); 8 Jul 2005 07:49:26 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 80489 invoked by uid 500); 8 Jul 2005 07:49:26 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 80403 invoked by uid 99); 8 Jul 2005 07:49:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 00:49:13 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 27A7D16 for ; Fri, 8 Jul 2005 09:49:10 +0200 (CEST) Message-ID: <122809039.1120808950161.JavaMail.jira@ajax.apache.org> Date: Fri, 8 Jul 2005 09:49:10 +0200 (CEST) From: "simmi iyer (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-448) delete on an empty table generates warning In-Reply-To: <1220561947.1120808294200.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-448?page=comments#action_12315283 ] simmi iyer commented on DERBY-448: ---------------------------------- Sorry the component should be Tools not Build Tools. Not able to find out how to edit an issue. > delete on an empty table generates warning > ------------------------------------------ > > Key: DERBY-448 > URL: http://issues.apache.org/jira/browse/DERBY-448 > Project: Derby > Type: Bug > Components: Build tools > Versions: 10.0.2.1 > Environment: Solaris > Reporter: simmi iyer > > 1. Launch ij to connect to Derby using embedded driver. > 2. Issue delete command at ij prompt > ij>delete from table ; > 3. This generates a warning > 0 rows inserted/updated/deleted > WARNING 02000: No row was found for FETCH, UPDATE or DELETE; or the result of a query is an empty table. > There are two issues here: > 1. It should say 0 rows deleted instead of 0 rows inserted/deleted/updated. > 2. WARNING should not be shown. > thx > Simmi. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira