File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Change Log
22==========
33
4+ Version 2.2.0 - To be released
5+ ==============================
6+
7+ Features
8+ --------
9+
10+ TBA
11+
12+ Bug fixes
13+ ---------
14+
15+ - Fix ``tds_version`` ``_mssql`` connection property value for TDS version.
16+ 7.1 is actually 7.1 and not 8.0.
17+
418Version 2.1.2 - 2016-02-10 - Ramiro Morales
519===============================================
620
Original file line number Diff line number Diff line change 11Recent Changes
22==============
33
4+ Version 2.2.0 - To be released
5+ ==============================
6+
7+ Features
8+ --------
9+
10+ TBA
11+
12+ Bug fixes
13+ ---------
14+
15+ - Fix ``tds_version `` ``_mssql `` connection property value for TDS version.
16+ 7.1 is actually 7.1 and not 8.0.
17+
418Version 2.1.2 - 2016-02-10 - Ramiro Morales
519===============================================
620
Original file line number Diff line number Diff line change @@ -169,12 +169,11 @@ Functions
169169.. attribute :: MSSQLConnection.tds_version
170170
171171 The TDS version used by this connection. Can be one of ``4.2 ``, ``5.0 ``
172- ``7.0 ``, ``8.0 `` and ``7.2 ``.
172+ ``7.0 ``, ``7.1 `` and ``7.2 ``.
173173
174- .. warning ::
175- For historical and backward compatibility reasons, the value used to
176- represent TDS 7.1 is ``8.0 ``. This will change with pymssql 2.2.0 when it
177- will be fixed to be ``7.1 `` for correctness and consistency.
174+ .. versionchanged :: 2.2.0
175+ For correctness and consistency the value used to indicate TDS 7.1
176+ changed from ``8.0 `` to ``7.1 `` on pymssql 2.2.0.
178177
179178``MSSQLConnection `` object methods
180179----------------------------------
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ cdef class MSSQLConnection:
515515 if version == 10 :
516516 return 7.2
517517 elif version == 9 :
518- return 8.0 # Actually 7.1, return 8.0 to keep backward compatibility
518+ return 7.1
519519 elif version == 8 :
520520 return 7.0
521521 elif version == 6 :
You can’t perform that action at this time.
0 commit comments