mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1560: ParameterTypeInferer misses boolean type #1955
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 @doctrinebot on GitHub (Dec 23, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user felicitus:
The class ParameterTypeInferer misses infering for boolean types.
I noticed this only because $query->setParameter("test", false) didn't work, but $query->setParameter("test", false) did on the PostgreSQL platform.
Specifying \PDO::PARAM_BOOL explicitely as argument to setParameter works.
@doctrinebot commented on GitHub (Dec 28, 2011):
Comment created by @beberlei:
This is fixed in 2.2
@doctrinebot commented on GitHub (Dec 28, 2011):
Issue was closed with resolution "Duplicate"