Skip to content

Commit 0c4d052

Browse files
authored
assign value to display_size (#244)
1 parent adc1409 commit 0c4d052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mssql/introspection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def get_table_description(self, cursor, table_name, identity_check=True):
107107
"""
108108

109109
# map pyodbc's cursor.columns to db-api cursor description
110-
columns = [[c[3], c[4], None, c[6], c[6], c[8], c[10], c[12]] for c in cursor.columns(table=table_name)]
110+
columns = [[c[3], c[4], c[6], c[6], c[6], c[8], c[10], c[12]] for c in cursor.columns(table=table_name)]
111111

112112
if not columns:
113113
raise DatabaseError(f"Table {table_name} does not exist.")

0 commit comments

Comments
 (0)