Jussi Saurio
cca2f6c947
Merge 'Evaluate WHERE conditions after LEFT JOIN' from Piotr Rżysko
...
This fix ensures that `WHERE` conditions are emitted after the `LEFT
JOIN` match flag is set, so rows from the right table are properly
filtered, even when they are `NULL` due to the outer join.
Previously, the query below would return rows where `products.price` was
`NULL`:
```sql
SELECT users.id, price
FROM users
LEFT JOIN products ON users.id = products.id
WHERE products.price IS NOT NULL;
```
Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com >
Closes #2501
2025-08-08 15:54:17 +03:00
..
2025-08-07 16:27:08 -04:00
2025-08-08 13:22:10 +03:00
2025-08-02 13:00:18 +03:00
2025-08-04 19:25:11 +02:00
2025-07-15 16:44:11 +03:00
2024-08-03 12:16:34 +03:00
2025-08-01 15:44:56 +03:00
2025-07-22 11:12:02 +03:00
2025-08-01 11:37:13 -03:00
2025-07-24 19:19:48 -05:00
2025-04-13 22:38:43 -03:00
2025-01-19 20:51:16 -05:00
2024-12-18 09:10:37 +02:00
2025-02-09 22:01:33 +04:00
2025-08-05 13:49:04 -05:00
2025-01-19 00:39:10 +05:30
2025-01-21 00:29:23 +05:30
2025-08-01 15:44:56 +03:00
2025-07-22 11:35:21 +03:00
2025-08-01 15:44:56 +03:00
2025-08-05 21:18:52 -07:00
2025-08-01 15:44:56 +03:00
2025-06-20 15:59:03 -03:00
2025-07-07 11:09:54 +03:00
2025-08-01 15:44:56 +03:00
2025-08-01 15:44:56 +03:00
2025-06-11 18:39:06 +02:00
2025-08-08 06:26:30 +02:00
2025-03-30 18:58:38 +03:00
2025-03-01 18:32:09 +01:00
2025-05-08 22:22:55 +08:00
2025-04-16 11:13:01 +03:00
2025-05-11 23:47:30 +08:00
2025-01-26 16:40:30 -05:00
2025-08-01 15:44:56 +03:00
2025-08-06 13:20:15 -05:00
2025-07-17 16:23:31 +03:00
2025-04-15 12:45:46 -03:00
2025-08-01 15:44:56 +03:00
2025-04-14 20:57:54 +08:00
2025-02-04 21:02:51 +05:30
2025-08-01 16:30:32 -07:00
2025-08-01 15:44:56 +03:00
2025-08-01 15:44:56 +03:00
2025-08-06 16:02:15 -07:00
2024-12-14 17:13:45 +02:00
2025-01-31 23:01:49 -05:00
2025-02-07 09:23:48 -05:00
2024-10-05 18:25:04 +03:00
2025-02-19 21:25:14 +08:00
2025-06-07 17:37:36 +09:00
2025-03-17 10:01:00 -03:00
2025-08-01 15:44:56 +03:00
2025-07-18 10:39:02 -05:00
2025-01-28 14:24:09 +02:00
2025-08-01 15:44:56 +03:00