Skip to content

SQLParserUtils triggered an error when feeding it Type instances instead of PDO param type ints #120

Merged
merged 2 commits into from Mar 24, 2012

3 participants

@maikg
maikg commented Feb 26, 2012

Title says it all. If-statement failed when trying to convert \Doctrine\DBAL\Type\Type instances to an int for comparison.

@stof
Doctrine member
stof commented Feb 26, 2012

why should it try to convert it to an int ? a strict check does not do conversions

@maikg
maikg commented Feb 26, 2012

Right, my mistake. Looks like the second comparison on the same line was NOT an equality comparison. Should be fixed now.

@beberlei beberlei merged commit faafbf1 into doctrine:master Mar 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.