You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/tests/expected_queries/mysql84/test_combined_result/test_with_multiple_parameters_and_union_fragments.sql
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
b.col_b2
16
16
FROM
17
17
table_a AS a
18
-
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond1= %s ANDb.cond2= %s
18
+
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond1= %s ANDb.cond2= %sANDb.rangecondIN ('a', 'b')
19
19
WHERE
20
20
a.col_a1= (SELECT*FROM loop_values LIMIT1)
21
21
UNION ALL
@@ -28,7 +28,7 @@
28
28
FROM
29
29
all_entries
30
30
LEFT JOIN table_a AS a ONa.col_a1= (SELECT col_a1 FROM loop_values WHERE col_a1 >all_entries.col_a1LIMIT1)
31
-
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond1= %s ANDb.cond2= %s
31
+
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond1= %s ANDb.cond2= %sANDb.rangecondIN ('a', 'b')
32
32
WHERE
33
33
n +1< (SELECTCOUNT(*) FROM loop_values)
34
34
)
@@ -59,7 +59,7 @@ UNION ALL
59
59
b.col_b2
60
60
FROM
61
61
table_a AS a
62
-
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond3= %s ANDb.cond4= %s
62
+
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond3= %s ANDb.cond4= %sANDb.rangecondIN ('a', 'b')
63
63
WHERE
64
64
a.col_a1= (SELECT*FROM loop_values LIMIT1)
65
65
UNION ALL
@@ -72,7 +72,7 @@ UNION ALL
72
72
FROM
73
73
all_entries
74
74
LEFT JOIN table_a AS a ONa.col_a1= (SELECT col_a1 FROM loop_values WHERE col_a1 >all_entries.col_a1LIMIT1)
75
-
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond3= %s ANDb.cond4= %s
75
+
LEFT JOIN table_b AS b ONb.col_a1=a.col_a1ANDb.cond3= %s ANDb.cond4= %sANDb.rangecondIN ('a', 'b')
0 commit comments