List:Commits« Previous MessageNext Message »
From:knielsen Date:January 9 2006 9:01am
Subject:bk commit into 5.1 tree (knielsen:1.2025)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of knielsen. When knielsen does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2025 06/01/09 10:01:38 knielsen@stripped +1 -0
  Workaround a template problem with the Sun compiler when a referencing a static function.

  sql/handler.cc
    1.206 06/01/09 10:00:02 knielsen@stripped +3 -1
    Workaround a template problem with the Sun compiler when a referencing a static function.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	knielsen
# Host:	rt.int.sifira.dk
# Root:	/usr/local/mysql/mysql-5.1-new-solaris-compile-fix

--- 1.205/sql/handler.cc	2006-01-07 14:49:39 +01:00
+++ 1.206/sql/handler.cc	2006-01-09 10:00:02 +01:00
@@ -2794,7 +2794,9 @@
 */
 
 #ifdef HAVE_ROW_BASED_REPLICATION
-static bool check_table_binlog_row_based(THD *thd, TABLE *table)
+/* This should really be static, but the Sun compiler chokes on that
+   in template instantiation (BUG#XXXXX). */
+bool check_table_binlog_row_based(THD *thd, TABLE *table)
 {
   return
     binlog_row_based &&
Thread
bk commit into 5.1 tree (knielsen:1.2025)knielsen9 Jan