Multiple cleanups to accommodate broken FreeTDS driver
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 20 Mar 2012 05:49:33 +0000 (06:49 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Thu, 22 Mar 2012 10:00:12 +0000 (11:00 +0100)
commit25d3127deaaa381fdaa35b8b9d09e0483ba9e532
tree31bf927cc0170b73795e270a4bb1165792820fc2
parentcccd1876f48654bb612e8f3f9b16d786321340d2
Multiple cleanups to accommodate broken FreeTDS driver

- Disable batch operations entirely (can get as bad as silent insert failures)
- Disable SELECT SCOPE_IDENTITY generation when used with dynamic cursors
- Clean some warnings while we're at it
Changes
lib/DBIx/Class/Storage/DBI/Cursor.pm
lib/DBIx/Class/Storage/DBI/MSSQL.pm
lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm
t/746mssql.t