Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBDA29969 for ; Sat, 14 Apr 2012 16:11:37 +0000 (UTC) Received: (qmail 46807 invoked by uid 500); 14 Apr 2012 16:11:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 46783 invoked by uid 500); 14 Apr 2012 16:11:37 -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 46775 invoked by uid 99); 14 Apr 2012 16:11:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 16:11:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 16:11:36 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 93DD136B5E3 for ; Sat, 14 Apr 2012 16:11:16 +0000 (UTC) Date: Sat, 14 Apr 2012 16:11:16 +0000 (UTC) From: "Mike Matrigali (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <803518630.25674.1334419876621.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <202816138.6641.1320674931639.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5494) Same value returned by successive calls to a sequence generator flanking an unorderly shutdown. 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-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Matrigali updated DERBY-5494: ---------------------------------- Issue & fix info: High Value Fix,Known fix,Patch Available,Repro attached (was: Repro attached) Bug behavior facts: Deviation from standard > Same value returned by successive calls to a sequence generator flanking an unorderly shutdown. > ----------------------------------------------------------------------------------------------- > > Key: DERBY-5494 > URL: https://issues.apache.org/jira/browse/DERBY-5494 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.6.1.0, 10.6.2.1, 10.7.1.1, 10.8.1.2, 10.8.2.2, 10.9.0.0 > Reporter: Rick Hillegas > Assignee: Mike Matrigali > Labels: derby_triage10_9 > Attachments: derby-5494_diff_1a.txt, derby-5494_diff_2.txt > > > The following sequence of steps causes a sequence generator to return the same value on successive NEXT VALUE FOR calls. > 1) Bring up ij and issue the following commands: > connect 'jdbc:derby:db;create=true'; > create sequence s; > values next value for s; > 2) Control-c out of ij so that the engine comes down hard without an orderly shutdown. > 3) Now bring up ij again and issue the following commands: > connect 'jdbc:derby:db'; > values next value for s; > Thanks to Knut for finding this one. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira