MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:holyfoot Date:March 5 2007 4:02pm
Subject:bk commit into 5.1 tree (holyfoot:1.2436) BUG#26074
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of hf. When hf 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

ChangeSet@stripped, 2007-03-05 20:02:31+04:00, holyfoot@stripped +1 -0
  bug #26074 (Mysql crashes creating partitions)
  On Windows ha_partition can't extract partition's name for the path,
  as it looks for '\' (Windows FN_LIBCHAR), while it gets unified path.
  It has to look for '/' (Unix FN_LIBCHAR) instead.
  No test attached as i 

  sql/, 2007-03-05 20:02:30+04:00, holyfoot@stripped +1 -1
    as we have unified filenames here, we should look for '/' always

# 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:	holyfoot
# Host:	hfmain.(none)
# Root:	/home/hf/work/26074/my51-26074

--- 1.83/sql/	2007-03-05 20:02:36 +04:00
+++ 1.84/sql/	2007-03-05 20:02:36 +04:00
@@ -1782,7 +1782,7 @@ int ha_partition::set_up_table_before_cr
   table->s->max_rows= part_elem->part_max_rows;
   table->s->min_rows= part_elem->part_min_rows;
-  partition_name= strrchr(partition_name_with_path, FN_LIBCHAR);
+  partition_name= strrchr(partition_name_with_path, '/');
   if ((part_elem->index_file_name &&
       (error= append_file_to_dir(thd,
                                  (const char**)&part_elem->index_file_name,
bk commit into 5.1 tree (holyfoot:1.2436) BUG#26074holyfoot5 Mar