summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>2009-12-23 12:30:12 -0800
committerAlexandre Fayolle <alexandre.fayolle@logilab.fr>2009-12-23 12:30:12 -0800
commit5ab959ccb190f73dab479c1a101b0980590e4fbe (patch)
tree24e85509c26e5e4b3db7ab1e59bcebae217c04a5
parent46f1fb86d12a005d4ed11299fafda19bf4e7b7c1 (diff)
downloadlogilab-common-5ab959ccb190f73dab479c1a101b0980590e4fbe.tar.gz
require SQL Server Native Client for SqlServer 2005
The driver shipped with SqlServer 2005 has an issue and will crash on blobs of more than 400k
-rw-r--r--db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/db.py b/db.py
index c67cd21..09657c1 100644
--- a/db.py
+++ b/db.py
@@ -742,10 +742,10 @@ class _PyodbcSqlServer2000Adapter(_PyodbcAdapter):
driver = "SQL Server"
class _PyodbcSqlServer2005Adapter(_PyodbcAdapter):
- driver = "SQL Native Client"
+ driver = "SQL Server Native Client 10.0"
class _PyodbcSqlServer2008Adapter(_PyodbcAdapter):
- driver = "SQL Native Client 10.0"
+ driver = "SQL Server Native Client 10.0"
## Drivers, Adapters and helpers registries ###################################