Factor out IDENTITY_INSERT for Sybase ASE and MSSQL into a component
authorRafael Kitover <rkitover@cpan.org>
Wed, 18 May 2011 09:45:47 +0000 (05:45 -0400)
committerPeter Rabbitson <ribasushi@cpan.org>
Tue, 20 Mar 2012 03:19:38 +0000 (04:19 +0100)
commitfabbd5cca97aaef8e605a783c78abc1eaf9bdbae
tree58b9dd62b54e4dcc77cae76144bcf4d33965d2a3
parent72933b1563291bf292106112ee991fb3581fe68a
Factor out IDENTITY_INSERT for Sybase ASE and MSSQL into a component

This not only greatly simplifies the code of multiple storages, but the
reduction of identity retrieval calls fixes multiple issues with some
odd driver combinations.
Changes
lib/DBIx/Class/Storage/DBI.pm
lib/DBIx/Class/Storage/DBI/IdentityInsert.pm [new file with mode: 0644]
lib/DBIx/Class/Storage/DBI/Informix.pm
lib/DBIx/Class/Storage/DBI/MSSQL.pm
lib/DBIx/Class/Storage/DBI/Replicated.pm
lib/DBIx/Class/Storage/DBI/SQLAnywhere.pm
lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm
t/04_c3_mro.t