On Friday 27 July 2007 12:44:49 Christophe de VIENNE wrote: > 2007/7/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > noone wanting to try autoload'ing nor metadatadiff? i am > > surprised.. Christophe, u can at least try how much autoload.py > > works like your autocode2 - i got lost with 'schema' vs 'dbname' > > - and/or add mysql support (;-) > > I tried to run it on a mssql db (Although I'd prefer to test it on > a mysql db to see the actual differences from autocode2), but I got > some errors : well, u have put only mssql in your autocode2 - which i ripped. i've no idea about mysql - and about mssql either. up to you if u wanna hack it further, and find out what should be the way there.
> Traceback (most recent call last): > ... > 'sqlalchemy.databases.mssql.MSSQLDialect_pymssql'>): None 'SELECT > tables_77bf.table_name, tables_77bf.table_schema \nFROM > information_schema.tables AS tables_77bf \nWHERE > tables_77bf.table_schema = %(tables_table_schema)s' > {'tables_table_schema': > <sqlalchemy.databases.mssql.MSSQLDialect_pymssql object at > 0xb78a7f0c>} hmmm replace the line 91 schema = engine.dialect with schema = engine.url.database this might be equivalent to your old code (if works at all). i'm not sure what should be there anyway... and have nowhere to test now. ciao svil --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---