List:Commits« Previous MessageNext Message »
From:Martin Skold Date:December 14 2006 3:27pm
Subject:bk commit into 5.0 tree (mskold:1.2289)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 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-12-14 16:27:14+01:00, mskold@stripped +1 -0
  Removed check for impossible error return

  sql/ha_ndbcluster.cc@stripped, 2006-12-14 16:26:28+01:00, mskold@stripped +4 -7
    Removed check for impossible error return

# 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.0

--- 1.289/sql/ha_ndbcluster.cc	2006-12-14 16:27:27 +01:00
+++ 1.290/sql/ha_ndbcluster.cc	2006-12-14 16:27:27 +01:00
@@ -2956,13 +2956,10 @@ KEY* key_info;
       DBUG_RETURN(error == HA_ERR_KEY_NOT_FOUND ? HA_ERR_END_OF_FILE : error);
     }
     else if (type == UNIQUE_INDEX)
-    {
-      error= unique_index_scan(key_info, 
-			       start_key->key, 
-			       start_key->length, 
-			       buf);
-      DBUG_RETURN(error == HA_ERR_KEY_NOT_FOUND ? HA_ERR_END_OF_FILE : error);
-    }
+      DBUG_RETURN(unique_index_scan(key_info, 
+				    start_key->key, 
+				    start_key->length, 
+				    buf));
     break;
   default:
     break;
Thread
bk commit into 5.0 tree (mskold:1.2289)Martin Skold14 Dec