Skip to content

Commit f9ee19d

Browse files
authored
Merge branch 'main' into saumya/fix-213
2 parents 4ddc11f + cc180ec commit f9ee19d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

mssql_python/cursor.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -363,19 +363,6 @@ def _map_sql_type(self, param, parameters_list, i, min_val=None, max_val=None):
363363
False,
364364
)
365365

366-
try:
367-
val = uuid.UUID(param)
368-
parameters_list[i] = val.bytes_le
369-
return (
370-
ddbc_sql_const.SQL_GUID.value,
371-
ddbc_sql_const.SQL_C_GUID.value,
372-
16,
373-
0,
374-
False
375-
)
376-
except ValueError:
377-
pass
378-
379366
# String mapping logic here
380367
is_unicode = self._is_unicode_string(param)
381368

0 commit comments

Comments
 (0)