From: Rafael Kitover Date: Tue, 25 May 2010 18:04:09 +0000 (+0000) Subject: fix odbc/mssql dynamic cursors X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1b30006299e186de3f3cc751bfb76e16f8174688;p=dbsrgits%2FDBIx-Class-Historic.git fix odbc/mssql dynamic cursors --- 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 74fed68..ff60369 100644 --- a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm @@ -95,7 +95,7 @@ sub _set_dynamic_cursors { Your drivers do not seem to support dynamic cursors (odbc_cursortype => 2), if you're using FreeTDS, make sure to set tds_version to 8.0 or greater. EOF - } + }; $self->_using_dynamic_cursors(1); $self->_identity_method('@@identity');