[Bast-commits] r7115 -
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/lib/DBIx/Class/Storage/DBI
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Fri Jul 24 14:39:06 GMT 2009
Author: caelum
Date: 2009-07-24 14:39:06 +0000 (Fri, 24 Jul 2009)
New Revision: 7115
Modified:
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/lib/DBIx/Class/Storage/DBI/MSSQL.pm
Log:
minor doc clarification
Modified: DBIx-Class/0.08/branches/mssql_storage_minor_refactor/lib/DBIx/Class/Storage/DBI/MSSQL.pm
===================================================================
--- DBIx-Class/0.08/branches/mssql_storage_minor_refactor/lib/DBIx/Class/Storage/DBI/MSSQL.pm 2009-07-24 14:19:08 UTC (rev 7114)
+++ DBIx-Class/0.08/branches/mssql_storage_minor_refactor/lib/DBIx/Class/Storage/DBI/MSSQL.pm 2009-07-24 14:39:06 UTC (rev 7115)
@@ -150,9 +150,12 @@
$self->_identity_method('@@identity');
-this is more dangerous, as inserting into a table with an on insert trigger that
-inserts into another table with an identity will give erroneous results.
+it will only be used if SCOPE_IDENTITY() fails.
+This is more dangerous, as inserting into a table with an on insert trigger that
+inserts into another table with an identity will give erroneous results on
+recent versions of SQL Server.
+
=head1 AUTHOR
See L<DBIx::Class/CONTRIBUTORS>.
More information about the Bast-commits
mailing list