Re: [web2py] DAL: Rollback of an insert doesn't roll back the counter

2014-08-20 Thread Jan Beilicke
Am Mittwoch, 20. August 2014 17:59:29 UTC+2 schrieb viniciusban: > > Inline answers. > > On Wed, Aug 20, 2014 at 12:49 PM, Jan Beilicke > wrote: > > (second try, somehow my post wasn't published) > > > > ... > > > > According to the reference [1] the counter should be rolled back when > d

Re: [web2py] DAL: Rollback of an insert doesn't roll back the counter

2014-08-20 Thread Vinicius Assef
Inline answers. On Wed, Aug 20, 2014 at 12:49 PM, Jan Beilicke wrote: > (second try, somehow my post wasn't published) > > ... > > According to the reference [1] the counter should be rolled back when > db.rollback() is called. The autoincrement column (id) is controlled by the RDBMS. You shoul

[web2py] DAL: Rollback of an insert doesn't roll back the counter

2014-08-20 Thread Jan Beilicke
(second try, somehow my post wasn't published) Hi all, since a long time I have the opportunity to work on a web2py project again - it was about time! To refresh my mind I was tinkering with DAL and a MySQL database in an iPython shell and I was wondering: According to the reference [1] the c