Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #12473 sequence is off by one
Submitted: 2007-11-18 18:03 UTC
From: quipo Assigned: davidc
Status: Assigned Package: MDB2_Driver_mssql (version CVS)
PHP Version: 5.2.4 OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 28 - 1 = ?

 
 [2007-11-18 18:03 UTC] quipo (Lorenzo Alberton)
Description: ------------ Emulated sequence values are off by one. When created, they start from 2 instead of 1.

Comments

 [2009-10-15 20:27 UTC] davidc (David Coallier)
Could you try this again with head please? Looking at the code it seems to be starting from 1 indeed unless your column is already at 1 which could be the case. Let me know as I'd like to close this bug whenever possible :) Cheers,
 [2009-10-16 02:04 UTC] quipo (Lorenzo Alberton)
David, just run the test suite. The offset is revealed by test cases.