[Dbix-class] Patch roundup time, again.

Matt S Trout dbix-class at trout.me.uk
Mon Oct 6 01:53:12 BST 2008


On Sun, Oct 05, 2008 at 02:43:21PM -0700, Marc Mims wrote:
> * Matt S Trout <dbix-class at trout.me.uk> [081005 14:30]:
> > Can somebody also go through rt.cpan.org and work out if there's
> > anything on there we need to apply as well?
> 
> I can provide a patch to close RT #21260: Problem with last_insert_rowid: 
> http://lists.scsys.co.uk/pipermail/dbix-class/2008-October/006843.html
> 
> I would do so by adding a warning to _rebless if the backend can't be
> determined or if there is no DBIC extension for it then punting with a
> DBI call to last_insert_id, passing the table and column.

last_insert_rowid is a sqliteism I put in in the very early days, expecting
it to go away by like 0.03.

last_insert_id is the DBI standard, which theoretically should just work.

Just commit the damn fix.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list