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 286E39193 for ; Sat, 14 Apr 2012 00:49:41 +0000 (UTC) Received: (qmail 17502 invoked by uid 500); 14 Apr 2012 00:49:41 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 17479 invoked by uid 500); 14 Apr 2012 00:49:41 -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 17471 invoked by uid 99); 14 Apr 2012 00:49:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 00:49:40 +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 00:49:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A669936A910 for ; Sat, 14 Apr 2012 00:49:17 +0000 (UTC) Date: Sat, 14 Apr 2012 00:49:17 +0000 (UTC) From: "Mike Matrigali (Assigned) (JIRA)" To: derby-dev@db.apache.org Message-ID: <1748576730.24678.1334364557682.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1354085544.6625.1320674331736.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (DERBY-5493) Same value returned by successive calls to a sequence generator. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Matrigali reassigned DERBY-5493: ------------------------------------- Assignee: Rick Hillegas (was: Mike Matrigali) meant to take ownership of DERBY-5494, not this one. > Same value returned by successive calls to a sequence generator. > ---------------------------------------------------------------- > > Key: DERBY-5493 > URL: https://issues.apache.org/jira/browse/DERBY-5493 > 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: Rick Hillegas > Labels: derby_triage10_9 > Attachments: derby-5493-01-aa-correctnessPlusPeekerPlusTest.diff, derby-5493-01-ad-simplerApproach.diff, derby-5493-01-ae-simplerApproachWithCrashJUnitTest.diff > > > The following script shows the same value being returned from a sequence generator by two successive NEXT VALUE FOR calls. Thanks to Knut for finding this: > connect 'jdbc:derby:memory:db;create=true'; > create table t (x int); > create sequence s; > autocommit off; > select count(*) from sys.syssequences with rs; > values next value for s; > drop table t; > rollback; > -- same value as previous call > values next value for s; -- 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