diff options
author | Jason Kirtland <jek@discorporate.us> | 2007-12-12 20:18:58 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2007-12-12 20:18:58 +0000 |
commit | bdd922ad0d94953c53e654893889e5aa7ed00685 (patch) | |
tree | 92ff3c73f0d2da46b92243f46a3a7de8c54a33c8 /lib/sqlalchemy/databases/mysql.py | |
parent | 5c14b20f9f02179e4e59e3f196cbab5da8366583 (diff) | |
download | sqlalchemy-bdd922ad0d94953c53e654893889e5aa7ed00685.tar.gz |
Some code-level docs for r3916
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index ba0ad5e0a..122c24bff 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1882,6 +1882,11 @@ class MySQLCompiler(compiler.DefaultCompiler): return "" def visit_join(self, join, asfrom=False, **kwargs): + # 'JOIN ... ON ...' for inner joins isn't available until 4.0. + # Apparently < 3.23.17 requires theta joins for inner joins + # (but not outer). Not generating these currently, but + # support can be added, preferably after dialects are + # refactored to be version-sensitive. return ''.join( (self.process(join.left, asfrom=True), (join.isouter and " LEFT OUTER JOIN " or " INNER JOIN "), |