Skip to content

Commit b87af1b

Browse files
author
Glendon Solsberry
committed
Remove binary check, as it's not part of this PR
1 parent 0ff1643 commit b87af1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql2pgsql/lib/mysql_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def _convert_type(self, data_type):
9898
return 'boolean'
9999
elif re.search(r'^smallint.* unsigned', data_type) or data_type.startswith('mediumint'):
100100
return 'integer'
101-
elif data_type.startswith('smallint') or data_type.startswith('binary('):
101+
elif data_type.startswith('smallint'):
102102
return 'tinyint'
103103
elif data_type.startswith('tinyint') or data_type.startswith('year('):
104104
return 'tinyint'

0 commit comments

Comments
 (0)