diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-18 17:34:52 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-18 17:34:52 +0000 |
commit | 1127b10b278440247f18d1859e1f70a4aafaa9fb (patch) | |
tree | d1b149d4bf92b1a01235000490438bfd91391a0e /lib/sqlalchemy/databases/sybase.py | |
parent | 654794cdcf89eb7842ddf06bd9316bd860bca9e7 (diff) | |
download | sqlalchemy-1127b10b278440247f18d1859e1f70a4aafaa9fb.tar.gz |
- "not equals" comparisons of simple many-to-one relation
to an instance will not drop into an EXISTS clause
and will compare foreign key columns instead.
- removed not-really-working use cases of comparing
a collection to an iterable. Use contains() to test
for collection membership.
- Further simplified SELECT compilation and its relationship
to result row processing.
- Direct execution of a union() construct will properly set up
result-row processing. [ticket:1194]
Diffstat (limited to 'lib/sqlalchemy/databases/sybase.py')
-rw-r--r-- | lib/sqlalchemy/databases/sybase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/sybase.py b/lib/sqlalchemy/databases/sybase.py index 5c64ec1ae..b464a3bcb 100644 --- a/lib/sqlalchemy/databases/sybase.py +++ b/lib/sqlalchemy/databases/sybase.py @@ -798,7 +798,7 @@ class SybaseSQLCompiler(compiler.DefaultCompiler): order_by = self.process(select._order_by_clause) # SybaseSQL only allows ORDER BY in subqueries if there is a LIMIT - if order_by and (not self.is_subquery(select) or select._limit): + if order_by and (not self.is_subquery() or select._limit): return " ORDER BY " + order_by else: return "" |