mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1967: mysql Tiny ints not behaving properley #2480
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 4, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user jonathanpete:
If I set up a field as a tinyint lets say called bob. I then extract a record.
If I do $object->getBob() - when bob = 1, everything works fine.
However, if I do $object->getBob() when bob = 0, the null value is returned.
If bob is null, everything works fine.
This issues only seems to happen with mysql tinyint.