Ticket #793 (reopened Bug)
ORM doesn't support integer values greater than PHP_INT_MAX
| Reported by: | Inquisitus | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | major | Milestone: | 2.2.1 |
| Component: | Libraries:ORM | Version: | SVN HEAD |
| Keywords: | orm unsigned database | Cc: |
Description
ORM::load_type neglects the value of $column['unsigned'], meaning that any unsigned integer greater than PHP_INT_MAX gets truncated.
Suggested fix involves testing for (float) value > PHP_INT_MAX and returning the value as a string if necessary.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
