From: Sergei Golubchik Date: October 26 2007 8:20pm Subject: Re: bk commit into 5.0 tree (knielsen:1.2488) BUG#31799 List-Archive: http://lists.mysql.com/commits/36460 Message-Id: <20071026202015.GE16796@janus.mylan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi! On Oct 24, knielsen@stripped wrote: > ChangeSet@stripped, 2007-10-24 09:26:25+02:00, knielsen@ymer.(none) +4 -0 > BUG#31799: Scrambled number output due to integer overflow > > An integer overflow in number->string conversion caused completely > wrong output of the number LONGLONG_MIN with gcc 4.2.1. > > Fixed by eliminating the overflow, using only operations that are > well-defined in ANSI C. Where does the standard say that the result is undefined ? I wasn't able to find it :( Regards / Mit vielen Grüssen, Sergei -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik / /|_/ / // /\ \/ /_/ / /__ Principal Software Developer /_/ /_/\_, /___/\___\_\___/ MySQL GmbH, Dachauer Str. 37, D-80335 München <___/ Geschäftsführer: Kaj Arnö - HRB München 162140