diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-05-29 20:52:27 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-05-29 20:52:27 -0400 |
commit | 0766c80b9c02fdbad3203835ab850ad690f4c03b (patch) | |
tree | 1caf551768941f6254947206e2c34e1031b16edb | |
parent | 6245d003f2ce404daedfba9101bb1e4f098b4c66 (diff) | |
parent | 19571e2f8f4b621f3a1eaea198a8556497178015 (diff) | |
download | sqlalchemy-0766c80b9c02fdbad3203835ab850ad690f4c03b.tar.gz |
Merge remote-tracking branch 'origin/pr/176'
-rw-r--r-- | lib/sqlalchemy/dialects/mssql/base.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/sqlalchemy/dialects/mssql/base.py b/lib/sqlalchemy/dialects/mssql/base.py index 928953126..bd41c19bf 100644 --- a/lib/sqlalchemy/dialects/mssql/base.py +++ b/lib/sqlalchemy/dialects/mssql/base.py @@ -1566,11 +1566,15 @@ class MSDialect(default.DefaultDialect): # FreeTDS with version 4.2 seems to report here # a number like "95.10.255". Don't know what # that is. So emit warning. + # Use TDS Version 7.0 through 7.3, per the MS information here: + # https://msdn.microsoft.com/en-us/library/dd339982.aspx + # and FreeTDS information here (7.3 highest supported version): + # http://www.freetds.org/userguide/choosingtdsprotocol.htm util.warn( "Unrecognized server version info '%s'. Version specific " "behaviors may not function properly. If using ODBC " - "with FreeTDS, ensure server version 7.0 or 8.0, not 4.2, " - "is configured in the FreeTDS configuration." % + "with FreeTDS, ensure TDS_VERSION 7.0 through 7.3, not " + "4.2, is configured in the FreeTDS configuration." % ".".join(str(x) for x in self.server_version_info)) if self.server_version_info >= MS_2005_VERSION and \ 'implicit_returning' not in self.__dict__: |