blob: 28a1732da585fccbc613994c5d774e49da2f432d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- _mssql.pyx.orig 2014-10-24 22:03:00 UTC
+++ _mssql.pyx
@@ -1677,12 +1677,10 @@ cdef int _tds_ver_str_to_constant(verstr
return DBVERSION_42
if verstr == u'7.0':
return DBVERSION_70
- if verstr == u'7.1':
+ if verstr in (u'7.1', u'8.0'):
return DBVERSION_71
if verstr == u'7.2':
return DBVERSION_72
- if verstr == u'8.0':
- return DBVERSION_80
raise MSSQLException('unrecognized tds version: %s' % verstr)
#######################
|