From: Rafael Kitover Date: Mon, 3 Aug 2009 11:42:31 +0000 (+0000) Subject: check that dynamic cursors are functional if enabled X-Git-Tag: v0.08109~47^2~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=41dd5d30761ff2def37173efbd0e58282d6a97d2;p=dbsrgits%2FDBIx-Class.git check that dynamic cursors are functional if enabled --- 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..2acbbaf 100644 --- a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm @@ -44,11 +44,12 @@ 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