Re: FloatField will not handle infinity values (Ticket #4287)

2011-06-22 Thread Conrad Calmez
I sent in another patch that acts as proposed by Gabriel. With this patch one can enable to store infinity and it is checked against a DataBaseFeature if it is possible. Storing infinity without having it enabled on that particular field will lead to an exception. It is also a backwards compatible

FloatField will not handle infinity values (Ticket #4287)

2011-04-27 Thread Conrad Calmez
Dear Community, two weeks ago I started fixing the ticket #4287. It appears that infinity values can not be stored to FloatFields using MySQL (that is what I reproduced). I found out that MySQL can not handle infinity values. My Fix uses the minimal and maximal float values (-2147483648 / 21474836