From f32131dac212fdee1a6e97eba4a4ed21e51b3607 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 18 Oct 2007 17:56:18 +0000 Subject: - added test coverage for unknown type reflection, fixed sqlite/mysql handling of type reflection for unknown types --- lib/sqlalchemy/databases/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/databases/mysql.py') diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index 66b62c215..de417f3a5 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -2046,7 +2046,7 @@ class MySQLSchemaReflector(object): warnings.warn(RuntimeWarning( "Did not recognize type '%s' of column '%s'" % (type_, name))) - col_type = sqltypes.NULLTYPE + col_type = sqltypes.NullType # Column type positional arguments eg. varchar(32) if args is None or args == '': -- cgit v1.2.1