List:Commits« Previous MessageNext Message »
From:marko.makela Date:October 20 2010 12:58pm
Subject:bzr commit into mysql-5.5-innodb branch (marko.makela:3192) Bug#57588
View as plain text  
#At file:///home/marko/innobase/dev/mysql2a/5.5-innodb/ based on revid:marko.makela@strippedyc8etgxr985x

 3192 Marko Mäkelä	2010-10-20
      Fix a compiler warning caused by fixing Bug #57588 (compiler warning).
      
      Declare DATA_MBMAXLEN with the same data type as DATA_MBMINLEN.

    modified:
      storage/innobase/include/data0type.h
=== modified file 'storage/innobase/include/data0type.h'
--- a/storage/innobase/include/data0type.h	revid:marko.makela@stripped628-ly1tyc8etgxr985x
+++ b/storage/innobase/include/data0type.h	revid:marko.makela@strippedamnsu8jzoc1
@@ -180,7 +180,7 @@ because in GCC it returns a long. */
                                     UNIV_EXPECT(((mbminmaxlen) % DATA_MBMAX), \
                                                 1))
 /* Get mbmaxlen from mbminmaxlen. */
-#define DATA_MBMAXLEN(mbminmaxlen) ((mbminmaxlen) / DATA_MBMAX)
+#define DATA_MBMAXLEN(mbminmaxlen) ((ulint) ((mbminmaxlen) / DATA_MBMAX))
 
 #ifndef UNIV_HOTBACKUP
 /*********************************************************************//**

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20101020125847-g0flbamnsu8jzoc1.bundle
Thread
bzr commit into mysql-5.5-innodb branch (marko.makela:3192) Bug#57588marko.makela20 Oct
Re: bzr commit into mysql-5.5-innodb branch (marko.makela:3192) Bug#57588Sunny Bains21 Oct
  • Re: bzr commit into mysql-5.5-innodb branch (marko.makela:3192)Bug#57588Marko Mäkelä21 Oct
  • Re: bzr commit into mysql-5.5-innodb branch (marko.makela:3192)Bug#57588Marko Mäkelä21 Oct
Re: bzr commit into mysql-5.5-innodb branch (marko.makela:3192) Bug#57588Sunny Bains21 Oct