There is some part in the patch which modifies the aliased_select method global (global for the visit_select method) that didn't quite work out, the locals()['aliased_select'] part
the solution was to put aliased_select inside an array... The need to modify aliased_select comes in because we needed to export additional columns inside the inner select when the order_by clause relies on a column that is not exported. On Jan 10, 9:46 pm, Esceo <[EMAIL PROTECTED]> wrote: > the other part of the patch is a rewrite of > INSERT INTO (.+) \(\) VALUES \(\)$ (insertion of empty list of values) > into INSERT INTO %s DEFAULT VALUES > > which is problematic when we insert into a table with only one field > and it's identity > > On Jan 10, 9:43 pm, "lei you" <[EMAIL PROTECTED]> wrote: > > > > > patch is attached > > > mssql.diff > > 26KDownload- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
