]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Pedantic tweak to coltype swappage...
authorJason Kirtland <jek@discorporate.us>
Sat, 4 Aug 2007 21:53:41 +0000 (21:53 +0000)
committerJason Kirtland <jek@discorporate.us>
Sat, 4 Aug 2007 21:53:41 +0000 (21:53 +0000)
lib/sqlalchemy/databases/mysql.py

index 88a8957cd98ea12eebaed2a4bb5b7bad4bbfa653..77e06036ddd3b3d8f0cce5abad520810cbec08c8 100644 (file)
@@ -1363,6 +1363,7 @@ class MySQLDialect(ansisql.ANSIDialect):
 
             if col_type == 'tinyint' and args == '(1)':
                 col_type = 'boolean'
+                args = None
             try:
                 coltype = ischema_names[col_type]
             except KeyError: