List:Commits« Previous MessageNext Message »
From:reggie Date:January 26 2006 12:37pm
Subject:bk commit into 5.1 tree (reggie:1.2082)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of reggie. When reggie 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.2082 06/01/26 06:37:25 reggie@stripped +1 -0
  using const char * as the output of strrchr to make solaris compiler happy.

  sql/ha_partition.cc
    1.25 06/01/26 06:37:19 reggie@stripped +1 -1
    using const char * as the output of strrchr to make solaris compiler happy.

# 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:	reggie
# Host:	linux.site
# Root:	/home/reggie/work/mysql-5.1

--- 1.24/sql/ha_partition.cc	2006-01-25 13:06:53 -06:00
+++ 1.25/sql/ha_partition.cc	2006-01-26 06:37:19 -06:00
@@ -1780,7 +1780,7 @@
     return;                                     // Fatal error
   table->s->max_rows= part_elem->part_max_rows;
   table->s->min_rows= part_elem->part_min_rows;
-  char *partition_name= strrchr(partition_name_with_path, FN_LIBCHAR);
+  const char *partition_name= strrchr(partition_name_with_path, FN_LIBCHAR);
   if (part_elem->index_file_name)
     append_file_to_dir(current_thd,
                        (const char**)&part_elem->index_file_name,
Thread
bk commit into 5.1 tree (reggie:1.2082)reggie26 Jan