Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Git Master
-
Fix Version/s: 2.0.4
-
Component/s: Mapping Drivers
-
Security Level: All
-
Labels:None
-
Environment:MySQL
Description
$repository->findBy(array('foo' => NULL)); // or findOneBy
convert to invalid query:
SELECT f.* FROM foo f WHERE f.foo = NULL;
in MySQL doesn't same as valid:
SELECT f.* FROM foo f WHERE f.foo IS NULL;
Fixed