Skip to content

Commit 2f5b32d

Browse files
committed
Merge pull request pymssql#395 from pymssql/support-freetds-0_91-or-newer
Raise minimum supported FreeTDS version to 0.91. Fixes pymssql#315.
2 parents 2eb3ba9 + 5cd3b76 commit 2f5b32d

7 files changed

Lines changed: 15 additions & 12 deletions

File tree

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Change Log
44
Version 2.2.0 - To be released
55
==============================
66

7+
General
8+
-------
9+
10+
- Drop support for versions of FreeTDS older than 0.91.
11+
712
Features
813
--------
914

ChangeLog_highlights.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Recent Changes
44
Version 2.2.0 - To be released
55
==============================
66

7+
General
8+
-------
9+
10+
- Drop support for versions of FreeTDS older than 0.91.
11+
712
Features
813
--------
914

README_building_and_developing.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ To build pymssql you should have:
1616
packages.
1717

1818
.. note::
19-
If you need to connect to Azure:
20-
21-
* Use FreeTDS 0.91 or newer
22-
* Make sure FreeTDS is built with SSL support. Instructions on how to do
23-
this are out of the scope of this document.
19+
If you need to connect to Azure make sure FreeTDS is built with SSL support.
20+
Instructions on how to do this are out of the scope of this document.
2421

2522
Windows
2623
-------

docs/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Supported related software
126126
==========================
127127

128128
:Python: Python 2.x: 2.7 or newer. Python 3.x: 3.3 or newer.
129-
:FreeTDS: 0.82 or newer.
129+
:FreeTDS: 0.91 or newer.
130130
:Cython: 0.15 or newer.
131131
:Microsoft SQL Server: 2005 or newer.
132132

docs/ref/_mssql.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Functions
101101
.. note::
102102
If you need to connect to Azure:
103103

104-
* Use FreeTDS 0.91 or newer
104+
* Use FreeTDS 0.91 or newer (this is already a requirement of pymssql)
105105
* Use TDS 7.1 or newer
106106
* Make sure FreeTDS is built with SSL support
107107
* Specify the database name you are connecting to in the *database* parameter

docs/ref/pymssql.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Functions
5959
.. note::
6060
If you need to connect to Azure:
6161

62-
* Use FreeTDS 0.91 or newer
62+
* Use FreeTDS 0.91 or newer (this is already a requirement of pymssql)
6363
* Use TDS 7.1 or newer
6464
* Make sure FreeTDS is built with SSL support
6565
* Specify the database name you are connecting to in the ``connect()`` call

src/_mssql.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ DEF MSSQLDB_MSGSIZE = 1024
3131
DEF PYMSSQL_MSGSIZE = (MSSQLDB_MSGSIZE * 8)
3232
DEF EXCOMM = 9
3333

34-
# Provide constants missing in FreeTDS 0.82 so that we can build against it
35-
DEF DBVERSION_71 = 5
36-
DEF DBVERSION_72 = 6
37-
3834
ROW_FORMAT_TUPLE = 1
3935
ROW_FORMAT_DICT = 2
4036

0 commit comments

Comments
 (0)