diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-01-08 07:46:37 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-01-08 07:46:37 +0000 |
commit | c111f6f93dadb0376aa855583d330dce7b8715ca (patch) | |
tree | e4b71d379ef8c150d2efacd716bc3ab7c38acc85 /lib/sqlalchemy/databases/mysql.py | |
parent | 2fc1bf26159b722a525ffb3de7afe96f4e5f95fd (diff) | |
download | sqlalchemy-c111f6f93dadb0376aa855583d330dce7b8715ca.tar.gz |
Fixed reflection of mysql empty string column defaults.
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index 4f7f10a78..41b35156e 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -2332,7 +2332,7 @@ class MySQLSchemaReflector(object): r'(?: +COLLATE +(P<collate>\w+))?' r'(?: +(?P<notnull>NOT NULL))?' r'(?: +DEFAULT +(?P<default>' - r'(?:NULL|\x27(?:\x27\x27|[^\x27])+\x27|\w+)' + r'(?:NULL|\x27(?:\x27\x27|[^\x27])*\x27|\w+)' r'(?:ON UPDATE \w+)?' r'))?' r'(?: +(?P<autoincr>AUTO_INCREMENT))?' |