Revision 2410
Added by Aaron Marcuse-Kubitza about 12 years ago
sql_gen.py | ||
---|---|---|
244 | 244 |
right = CompareCond(as_Col(left, right_table), '~=') |
245 | 245 |
|
246 | 246 |
right = as_ValueCond(right, right_table) |
247 |
return right.to_str(db, as_Col(left, left_table))
|
|
247 |
return '('+right.to_str(db, as_Col(left, left_table))+')'
|
|
248 | 248 |
|
249 | 249 |
# Create join condition |
250 | 250 |
type_ = self.type_ |
Also available in: Unified diff
sql.py mk_select(), sql_gen.py Join.to_str(): Fixed bug where conditions needed to be wrapped in () before being AND-ed together to ensure the proper operator precedence