-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure subquery in findNewIds never returns NULL #8590
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Patrick Bender <patrick@bender-it-services.de>
08bd4fc
to
ed2d0da
Compare
Change makes sense yet I'm unsure if it fixes #4479 entirely. To verify all our supported databases understand the query we should add an integration test for |
…turns NULL Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
||
$found = $this->mapper->findNewIds($mailbox, [$id + 1]); | ||
|
||
self::assertCount(1, $found); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this fails without COALESCE 👍
…turns NULL Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
On a second look I'm skeptical about 👀 @kesselb |
Fixes #4479