N°3660 - Fix JOIN without condition on child joined table is ignored (check done in optimizer)

This commit is contained in:
Eric
2021-02-03 15:58:54 +01:00
parent 2f0e7c6d29
commit e06996a2e4
4 changed files with 19 additions and 11 deletions

View File

@@ -441,8 +441,8 @@ class OQLTest extends ItopDataTestCase
"SELECT `U` FROM `UserRequest` AS `U`
INNER JOIN `lnkContactToTicket` AS `l`
ON `U`.`id` = `l`.`ticket_id`
INNER JOIN `Contact` AS `T_Contact`
ON `l`.`contact_id` = `T_Contact`.`id`",
INNER JOIN `Team` AS `T`
ON `l`.`contact_id` = `T`.`id`",
],
'Bug 3660 2' => [
"SELECT UserRequest AS U