List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:June 3 2006 12:03am
Subject:bk commit into 5.1 tree (sergefp:1.2178)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of psergey. When psergey 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.2178 06/06/03 04:03:26 sergefp@stripped +1 -0
  get_[part_]partition_id(): Fix function comments. 

  sql/sql_partition.cc
    1.74 06/06/03 04:03:11 sergefp@stripped +10 -6
    get_[part_]partition_id(): Fix function comments. 

# 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:	sergefp
# Host:	newbox.mylan
# Root:	/home/psergey/mysql-5.1-small-fixes

--- 1.73/sql/sql_partition.cc	2006-06-01 02:24:27 +04:00
+++ 1.74/sql/sql_partition.cc	2006-06-03 04:03:11 +04:00
@@ -2199,9 +2199,11 @@
     out:part_id         The partition id is returned through this pointer
 
   RETURN VALUE
-    part_id
-    return TRUE means that the fields of the partition function didn't fit
-    into any partition and thus the values of the PF-fields are not allowed.
+    part_id                     Partition id of partition that would contain
+                                row with given values of PF-fields
+    HA_ERR_NO_PARTITION_FOUND   The fields of the partition function didn't
+                                fit into any partition and thus the values of 
+                                the PF-fields are not allowed.
 
   DESCRIPTION
     A routine used from write_row, update_row and delete_row from any
@@ -2240,9 +2242,11 @@
     out:part_id         The partition id is returned through this pointer
 
   RETURN VALUE
-    part_id
-    return TRUE means that the fields of the partition function didn't fit
-    into any partition and thus the values of the PF-fields are not allowed.
+    part_id                     Partition id of partition that would contain
+                                row with given values of PF-fields
+    HA_ERR_NO_PARTITION_FOUND   The fields of the partition function didn't
+                                fit into any partition and thus the values of 
+                                the PF-fields are not allowed.
 
   DESCRIPTION
     
Thread
bk commit into 5.1 tree (sergefp:1.2178)Sergey Petrunia3 Jun