I have started working on a patch that will add support for bigint for the DBO. I have it mostly working on 64 bit but experiencing issues on 32 bit
The main issue so far is Dbo::introspectType(); When passed large numbers eg: -2147483649 on 32 bit machines these are reported as float where as 64 bit will happily report it as an integer.
I am guessing this is why it has not been implemented before :/
Has anyone done work on this or have any ideas to work around this?
rough patch so far : https://github.com/dogmatic69/cakephp/commits/2.2-bigint
There are a number of tickets related to this:and more...
Along with some discussions here such as https://groups.google.com/d/msg/cakephp-core/h1dqSkIOAyM/DkHYDlM5hXkJ