MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Martin Skold Date:October 17 2006 1:20pm
Subject:bk commit into 5.1 tree (mskold:1.2316)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of marty. When marty 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@stripped, 2006-10-17 15:20:09+02:00, mskold@stripped +1 -0
  Merge mskold@stripped:/home/bk/mysql-5.1
  into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1
  MERGE: 1.2311.1.1

  sql/ha_ndbcluster.cc@stripped, 2006-10-17 15:20:04+02:00, mskold@stripped +0 -0
    Auto merged
    MERGE: 1.358.1.1

# 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:	mskold
# Host:	linux.site
# Root:	/windows/Linux_space/MySQL/mysql-5.1/RESYNC

--- 1.359/sql/ha_ndbcluster.cc	2006-10-17 15:20:18 +02:00
+++ 1.360/sql/ha_ndbcluster.cc	2006-10-17 15:20:18 +02:00
@@ -1914,7 +1914,10 @@ int ha_ndbcluster::peek_indexed_rows(con
       error= m_part_info->get_partition_id(m_part_info, &part_id, &func_value);
       dbug_tmp_restore_column_map(table->read_set, old_map);
       if (error)
+      {
+        m_part_info->err_value= func_value;
         DBUG_RETURN(error);
+      }
       op->setPartitionId(part_id);
     }
   }
@@ -2571,7 +2574,10 @@ int ha_ndbcluster::write_row(byte *recor
     error= m_part_info->get_partition_id(m_part_info, &part_id, &func_value);
     dbug_tmp_restore_column_map(table->read_set, old_map);
     if (error)
+    {
+      m_part_info->err_value= func_value;
       DBUG_RETURN(error);
+    }
     op->setPartitionId(part_id);
   }
 
@@ -2763,6 +2769,7 @@ int ha_ndbcluster::update_row(const byte
                                    m_part_info, &old_part_id, &new_part_id,
                                    &func_value)))
   {
+    m_part_info->err_value= func_value;
     DBUG_RETURN(error);
   }
 
Thread
bk commit into 5.1 tree (mskold:1.2316)Martin Skold17 Oct