X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FODBC%2FMicrosoft_SQL_Server.pm;h=f8cfdfc9be1cc08a5facebe6409bd5995c335a87;hb=a8f3649170443a06b886bede78f4abeefafe52ed;hp=6676bfb5e1828556a2ee8e93862adbf347e337db;hpb=7b1b2582a2f787fcacd238f1635fbce4cb9e0985;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm index 6676bfb..f8cfdfc 100644 --- a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm @@ -5,7 +5,6 @@ use warnings; use base qw/DBIx::Class::Storage::DBI::MSSQL/; use mro 'c3'; -use Carp::Clan qw/^DBIx::Class/; use List::Util(); use Scalar::Util (); @@ -38,17 +37,18 @@ Use as: on_connect_call => 'use_dynamic_cursors' -in your L as one way to enable multiple +in your L as one way to enable multiple concurrent statements. Will add C<< odbc_cursortype => 2 >> to your DBI connection attributes. See L for more information. -Alternatively, you can add it yourself and dynamic cursor will be automatically -enabled. +Alternatively, you can add it yourself and dynamic cursor support will be +automatically enabled. -This will not work with CODE ref connect_info's and will do nothing if you set -C yourself. +If you're using FreeTDS, C must be set to at least C<8.0>. + +This will not work with CODE ref connect_info's. B this will break C, and C