im surprised we didnt put the quoting rules in there by now...ticket 640 added for this.
On Jul 11, 2007, at 6:36 AM, Andrew Stromnov wrote: > > Dirty fix (works for me): > > Index: mysql.py > =================================================================== > --- mysql.py (revision 2873) > +++ mysql.py (working copy) > @@ -1090,7 +1090,7 @@ > table.name = table.name.lower() > table.metadata.tables[table.name]= table > try: > - c = connection.execute("describe " + table.fullname, {}) > + c = connection.execute("describe `" + table.fullname + > "`", {}) > except: > raise exceptions.NoSuchTableError(table.name) > found_table = False > @@ -1153,7 +1153,7 @@ > """runs SHOW CREATE TABLE to get foreign key/options > information about the table. > > """ > - c = connection.execute("SHOW CREATE TABLE " + table.fullname, > {}) > + c = connection.execute("SHOW CREATE TABLE `" + table.fullname > + "`", {}) > desc_fetched = c.fetchone()[1] > > if not isinstance(desc_fetched, basestring): > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---