At 11:12 PM +0200 2000-01-08, Michael Widenius wrote:
> >>>>> "Paul" == Paul DuBois <paul@stripped> writes:
>
>Paul> At 9:57 PM +0200 2000-01-03, Michael Widenius wrote:
>>> >>>>> "Jeremy" == Jeremy Cole <jcole@stripped>
> writes:
>>>
>Jeremy> Monty,
>Jeremy> I didn't see anything about fixing the coredump problem on
>>> FreeBSD with
>>>
>Jeremy> select floor(pow(2,63));
>>>
>Jeremy> Are you aware of this problem, or did it get fixed and not
>>> added to the
>Jeremy> ChangeLog?
>>>
>Jeremy> Later,
>>>
>Jeremy> Jeremy
>>>
>>> The above problem is only fixed in 3.23 and not in 3.22; I first want
>>> to check that the fix is really ok on 3.23 before moving it back to 3.22
>
>
>Paul> Just tried 3.23.8 on FreeBSD 3.3. The above SELECT statement still
>Paul> crashes the server with a floating point exception.
>
>Hi!
>
>The problem was that configure didn't detect some of the defines to
>fix this. I also started to think about problems when changing the
>floating point interrupt handling when having threads and decided that
>it's probably better to disable these for all threads.
>
>Here is a final tested patch that should work :)
The patch works on my FreeBSD 3.3 system. (the result is a huge
negative number - not unexpected - but the server doesn't crash).
Thanks.
--
Paul DuBois, paul@stripped