Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.6.1.0, 10.6.2.1, 10.7.1.1, 10.8.1.2, 10.8.2.2, 10.9.1.0
-
Normal
-
Patch Available, Release Note Needed
-
Deviation from standard, Wrong query result
Description
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;
Attachments
Attachments
Issue Links
- is related to
-
DERBY-5495 Master issue to track fixes to sequence generators
- Closed
-
DERBY-4437 Concurrent inserts into table with identity column perform poorly
- Closed
-
DERBY-5697 Doc changes to account for correctness fixes for sequences
- Closed