From c111f6f93dadb0376aa855583d330dce7b8715ca Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Tue, 8 Jan 2008 07:46:37 +0000 Subject: Fixed reflection of mysql empty string column defaults. --- 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 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\w+))?' r'(?: +(?PNOT NULL))?' r'(?: +DEFAULT +(?P' - r'(?:NULL|\x27(?:\x27\x27|[^\x27])+\x27|\w+)' + r'(?:NULL|\x27(?:\x27\x27|[^\x27])*\x27|\w+)' r'(?:ON UPDATE \w+)?' r'))?' r'(?: +(?PAUTO_INCREMENT))?' -- cgit v1.2.1