On Oct 25, 2013, at 5:53 PM, Kyle Derr <[email protected]> wrote: > diff --git a/lib/sqlalchemy/dialects/oracle/base.py > b/lib/sqlalchemy/dialects/oracle/base.py > > index 54c254c..209db66 100644 > > --- a/lib/sqlalchemy/dialects/oracle/base.py > > +++ b/lib/sqlalchemy/dialects/oracle/base.py > > @@ -841,7 +841,7 @@ class OracleDialect(default.DefaultDialect): > > clauses.append("synonym_name = :synonym_name") > > params['synonym_name'] = desired_synonym > > if desired_owner: > > - clauses.append("table_owner = :desired_owner") > > + clauses.append("owner = :desired_owner") > > params['desired_owner'] = desired_owner > > if desired_table: > > clauses.append("table_name = :tname") > >
thanks for this patch. I have created and resolved http://www.sqlalchemy.org/trac/ticket/2853 which identifies a new test for when the synonym and table are each in different schemas and reproduces the issue, fixes are for 0.8.3 and 0.9 in rf1905b619d90163771b61ff99f8f9661b031dbd7 and r5070c81ab963c1432bbbecf38d4cad7ac7b81652. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.
