Ticket #2699: quote_name.diff
File quote_name.diff, 592 bytes (added by , 18 years ago) |
---|
-
introspection.py
42 42 except (ProgrammingError, OperationalError): 43 43 # Fall back to "SHOW CREATE TABLE", for previous MySQL versions. 44 44 # Go through all constraints and save the equal matches. 45 cursor.execute("SHOW CREATE TABLE %s" % table_name)45 cursor.execute("SHOW CREATE TABLE %s" % quote_name(table_name)) 46 46 for row in cursor.fetchall(): 47 47 pos = 0 48 48 while True: