diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-28 22:25:09 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-28 22:25:09 -0500 |
| commit | 4aaf3753d75c68050c136e734c29aae5ff9504b4 (patch) | |
| tree | 21cf4c877fca83271447a7e1637a7876aa42f423 /lib/sqlalchemy/dialects/oracle/base.py | |
| parent | bb60a8ad946dd331f546f06a156b7ebb87d1709d (diff) | |
| download | sqlalchemy-4aaf3753d75c68050c136e734c29aae5ff9504b4.tar.gz | |
- fix up rendering of "of"
- move out tests, dialect specific out of compiler, compiler tests use new API,
legacy API tests in test_selecatble
- add support for adaptation of ForUpdateArg, alias support in compilers
Diffstat (limited to 'lib/sqlalchemy/dialects/oracle/base.py')
| -rw-r--r-- | lib/sqlalchemy/dialects/oracle/base.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/dialects/oracle/base.py b/lib/sqlalchemy/dialects/oracle/base.py index a3c31b7cc..ba69c3d1f 100644 --- a/lib/sqlalchemy/dialects/oracle/base.py +++ b/lib/sqlalchemy/dialects/oracle/base.py @@ -666,15 +666,15 @@ class OracleCompiler(compiler.SQLCompiler): tmp = ' FOR UPDATE' - if select._for_update_arg.nowait: - tmp += " NOWAIT" - if select._for_update_arg.of: tmp += ' OF ' + ', '.join( - self._process(elem) for elem in + self.process(elem) for elem in select._for_update_arg.of ) + if select._for_update_arg.nowait: + tmp += " NOWAIT" + return tmp |
