Skip to content

Commit 36ecce2

Browse files
author
darius BERNARD
committed
corrected error in unicode 3 bit char
1 parent 9d16e1f commit 36ecce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql_server/pyodbc/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def format_sql(self, sql, n_params=None):
366366
def format_params(self, params):
367367
fp = []
368368
for p in params:
369-
if self.connection.drv_name in ("LIBTDSODBC.SO",):
369+
if not self.connection.drv_name in ("LIBTDSODBC.SO",):
370370
if isinstance(p, text_type):
371371
if self.driver_needs_utf8:
372372
# FreeTDS (and other ODBC drivers?) doesn't support Unicode

0 commit comments

Comments
 (0)