List:Commits« Previous MessageNext Message »
From:marko.makela Date:January 10 2011 1:42pm
Subject:bzr push into mysql-5.1-innodb branch (marko.makela:3682 to 3683) Bug#59181
View as plain text  
 3683 Marko Mäkelä	2011-01-10
      Bug#59181 InnoDB compilation failure on the Sun Studio compiler
      
      Define UNIV_PREFETCH_R(add) as sun_prefetch_read_many((void*) addr),
      because apparently some versions of the Sun library
      omit the const qualifier.

    modified:
      storage/innodb_plugin/include/univ.i
 3682 Vasil Dimov	2011-01-08
      Increment InnoDB Plugin version from 1.0.14 to 1.0.15.
      InnoDB Plugin 1.0.14 has been released with MySQL 5.1.54.

    modified:
      storage/innodb_plugin/include/univ.i
=== modified file 'storage/innodb_plugin/include/univ.i'
--- a/storage/innodb_plugin/include/univ.i	revid:vasil.dimov@stripped119-4zkg7cbafzqux5gy
+++ b/storage/innodb_plugin/include/univ.i	revid:marko.makela@strippedvm9ag8qsog9
@@ -412,7 +412,7 @@ it is read or written. */
 /* Use sun_prefetch when compile with Sun Studio */
 # define UNIV_EXPECT(expr,value) (expr)
 # define UNIV_LIKELY_NULL(expr) (expr)
-# define UNIV_PREFETCH_R(addr) sun_prefetch_read_many(addr)
+# define UNIV_PREFETCH_R(addr) sun_prefetch_read_many((void*) addr)
 # define UNIV_PREFETCH_RW(addr) sun_prefetch_write_many(addr)
 #else
 /* Dummy versions of the macros */

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20110110133445-wq8vjvm9ag8qsog9.bundle
Thread
bzr push into mysql-5.1-innodb branch (marko.makela:3682 to 3683) Bug#59181marko.makela10 Jan