Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 69236 invoked from network); 4 Sep 2006 09:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 09:13:52 -0000 Received: (qmail 40358 invoked by uid 500); 4 Sep 2006 09:13:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 40146 invoked by uid 500); 4 Sep 2006 09:13: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 40137 invoked by uid 99); 4 Sep 2006 09:13:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 02:13:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 02:13:50 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5631771431B for ; Mon, 4 Sep 2006 09:10:23 +0000 (GMT) Message-ID: <6947887.1157361023350.JavaMail.jira@brutus> Date: Mon, 4 Sep 2006 02:10:23 -0700 (PDT) From: "Andreas Korneliussen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1800) testSetBinaryStreamLengthLessOnBlobTooLong fails with 'Unexpected SQL state. expected:<22001> but was:<58009>' In-Reply-To: <29403700.1157111905049.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1800?page=all ] Andreas Korneliussen updated DERBY-1800: ---------------------------------------- Attachment: DERBY-1800.diff The problem is caused by not flushing the blob data after an exception occurs. Attached patch makes the test pass. I will test the patch more before committing. > testSetBinaryStreamLengthLessOnBlobTooLong fails with 'Unexpected SQL state. expected:<22001> but was:<58009>' > -------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1800 > URL: http://issues.apache.org/jira/browse/DERBY-1800 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure > Affects Versions: 10.3.0.0 > Environment: All > Reporter: Ole Solberg > Assigned To: Andreas Korneliussen > Priority: Minor > Attachments: DERBY-1800.diff > > > Has failed since 438528, changes: http://www.multinet.no/~solberg/public/Apache/Daily/jvm1.6/UpdateInfo/438528.txt > Logs in http://www.multinet.no/~solberg/public/Apache/Daily/jvm1.6/Limited/testSummary-438528.html. > E.g. > *** Start: _Suite jdk1.6.0-rc DerbyNetClient derbynetclientmats:jdbc40 2006-08-31 02:52:09 *** > 0 add > > ............................F............. > > There was 1 failure: > > 1) testSetBinaryStreamLengthLessOnBlobTooLong(org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest)junit.framework.ComparisonFailure: Unexpected SQL state. expected:<22001> but was:<58009> > > FAILURES!!! > > Tests run: 2048, Failures: 1, Errors: 0 > Test Failed. > *** End: _Suite jdk1.6.0-rc DerbyNetClient derbynetclientmats:jdbc40 2006-08-31 02:52:26 *** -- 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