mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1978: SQLParserUtils array_fill tries to create array with zero elements when empty parameter is bound #2496
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 (Aug 10, 2012).
Jira issue originally created by user matt-button:
When binding an empty array as a parameter (and specifying a parameter type to work around DDC-1977) SQLParserUtils::expandListParameters tries to use array_fill to generate an empty array.
https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/SQLParserUtils.php#L127
Pseudo-code that generated the bug:
@doctrinebot commented on GitHub (Aug 15, 2012):
Comment created by @beberlei:
A related Github Pull-Request [GH-425] was opened
https://github.com/doctrine/doctrine2/pull/425
@doctrinebot commented on GitHub (Aug 15, 2012):
Comment created by @beberlei:
A related Github Pull-Request [GH-425] was closed
https://github.com/doctrine/doctrine2/pull/425
@doctrinebot commented on GitHub (Aug 29, 2012):
Comment created by @FabioBatSilva:
Fixed by :
24ec1947a8@doctrinebot commented on GitHub (Aug 29, 2012):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 18, 2013):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-425] was closed:
https://github.com/doctrine/dbal/pull/425