projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c90e7ac
)
fix _get_mssql_version for ODBC
Rafael Kitover [Wed, 9 Dec 2009 15:12:56 +0000 (15:12 +0000)]
lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm
patch
|
blob
|
blame
|
history
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
d0a0133
..
1b51b57
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm
+++ b/
lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm
@@
-175,6
+175,14
@@
sub connect_call_use_MARS {
}
}
+sub _get_mssql_version {
+ my $self = shift;
+
+ my ($version) = $self->_get_dbh->get_info(18) =~ /^(\d+)/;
+
+ return $version;
+}
+
1;
=head1 AUTHOR