mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
2.20.7 / 3.5.3 SQL syntax error in WHERE IN - missing null #7571
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @petrparolek on GitHub (Oct 31, 2025).
Bug Report
PR fix: #12254
Summary
The commit
9bf407f336breaks it.Current behavior
Doctrine\DBAL\Exception\SyntaxErrorException #1064 An exception occurred while executing a query: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1Expected behavior
How to reproduce
@whataboutpereira commented on GitHub (Nov 3, 2025):
Also broken with empty array in findBy():
Generates an empty IN:
@xabbuh commented on GitHub (Nov 3, 2025):
see #12245 and #12254 for the bugfix
@W0rma commented on GitHub (Nov 12, 2025):
The bug should have been fixed in version
2.20.8and3.5.7.