Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 51926 invoked from network); 26 Apr 2009 20:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Apr 2009 20:55:51 -0000 Received: (qmail 6841 invoked by uid 500); 26 Apr 2009 20:55:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6769 invoked by uid 500); 26 Apr 2009 20:55:51 -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 6761 invoked by uid 99); 26 Apr 2009 20:55:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2009 20:55:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Apr 2009 20:55:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63E4A234C003 for ; Sun, 26 Apr 2009 13:55:30 -0700 (PDT) Message-ID: <359715321.1240779330394.JavaMail.jira@brutus> Date: Sun, 26 Apr 2009 13:55:30 -0700 (PDT) From: "Tiago R. Espinha (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4099) Update Multiple Columns SQL In-Reply-To: <2133212083.1237286210621.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702935#action_12702935 ] Tiago R. Espinha commented on DERBY-4099: ----------------------------------------- Given this, then the bug would be on MySQL's end and not on ours. On a strictly personal level, I do prefer the behaviour specified by the standard. > Update Multiple Columns SQL > --------------------------- > > Key: DERBY-4099 > URL: https://issues.apache.org/jira/browse/DERBY-4099 > Project: Derby > Issue Type: Bug > Components: SQL > Reporter: Meenakshi Sundar Sitaraman > Priority: Critical > > When I try to execute the following query > update table_name set n1=5, average=(n1+n2)/2 where .... > The new value of n1 (viz. 5 in this case) is not used when calculating the average. While the new value of n1 is used in MySQL, the old value is used in Derby. > Appreciate your support in resolving this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.