From: Arthur Axel 'fREW' Schmidt Date: Fri, 19 Jul 2013 18:27:03 +0000 (-0500) Subject: Steal bindtype transforms from SQLite X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bfff1ef0873e8a4a44eb961f483ef5ef133aa7bc;p=dbsrgits%2FDBIx-Class.git Steal bindtype transforms from SQLite --- diff --git a/lib/DBIx/Class/Storage/DBI/MSSQL.pm b/lib/DBIx/Class/Storage/DBI/MSSQL.pm index a147091..8a5ab62 100644 --- a/lib/DBIx/Class/Storage/DBI/MSSQL.pm +++ b/lib/DBIx/Class/Storage/DBI/MSSQL.pm @@ -40,6 +40,9 @@ sub __sql_server_x_or_higher { return undef; } +sub __offset_bindtype { +{ dbd_attrs => DBI::SQL_INTEGER() } } +sub __rows_bindtype { +{ dbd_attrs => DBI::SQL_INTEGER() } } + sub _sql_server_2005_or_higher { shift->__sql_server_x_or_higher(9) } sub _sql_server_2012_or_higher { shift->__sql_server_x_or_higher(11) }