mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-05 07:17:06 -04:00
Fixed mysql TEMPORARY table reflection.
This commit is contained in:
@@ -38,6 +38,9 @@ CHANGES
|
||||
strptime/strftime, to generically support pre-1900 dates,
|
||||
dates with microseconds. [ticket:968]
|
||||
|
||||
- mysql
|
||||
- Temporary tables are now reflectable.
|
||||
|
||||
|
||||
0.5.0rc1
|
||||
========
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user