summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/mysql.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-09-27 18:26:53 +0000
committerJason Kirtland <jek@discorporate.us>2008-09-27 18:26:53 +0000
commitbcd7c81a462ec6972dc5353f799998209427dc58 (patch)
treea99aa2c70539cb660e9596a79557f39fce1853d4 /lib/sqlalchemy/databases/mysql.py
parent8e5312975b9f05ef1b196880d116fb10b916e87e (diff)
downloadsqlalchemy-bcd7c81a462ec6972dc5353f799998209427dc58.tar.gz
Fixed mysql TEMPORARY table reflection.
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r--lib/sqlalchemy/databases/mysql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py
index 9058df926..f1187b8ac 100644
--- a/lib/sqlalchemy/databases/mysql.py
+++ b/lib/sqlalchemy/databases/mysql.py
@@ -2406,7 +2406,7 @@ class MySQLSchemaReflector(object):
self.preparer._escape_identifier(_final))]))
self._pr_name = _pr_compile(
- r'^CREATE TABLE +'
+ r'^CREATE (?:\w+ +)?TABLE +'
r'%(iq)s(?P<name>(?:%(esc_fq)s|[^%(fq)s])+)%(fq)s +\($' % quotes,
self.preparer._unescape_identifier)