List:Commits« Previous MessageNext Message »
From:Martin Skold Date:January 8 2007 11:18am
Subject:bk commit into 5.0 tree (mskold:1.2359)
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, 2007-01-08 11:18:24+01:00, mskold@stripped +1 -0
  Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
  into  mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
  MERGE: 1.2281.4.10

  sql/ha_ndbcluster.cc@stripped, 2007-01-08 11:18:17+01:00, mskold@stripped +0 -0
    Auto merged
    MERGE: 1.285.1.6

# 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-ndb/RESYNC

--- 1.293/sql/ha_ndbcluster.cc	2007-01-08 11:18:45 +01:00
+++ 1.294/sql/ha_ndbcluster.cc	2007-01-08 11:18:45 +01:00
@@ -1106,6 +1106,16 @@ int ha_ndbcluster::build_index_list(Ndb 
 	error= create_unique_index(unique_index_name, key_info);
         break;
       case ORDERED_INDEX:
+	if (key_info->algorithm == HA_KEY_ALG_HASH)
+	{
+	  push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
+			      ER_UNSUPPORTED_EXTENSION,
+			      ER(ER_UNSUPPORTED_EXTENSION),
+			      "Ndb does not support non-unique "
+			      "hash based indexes");
+	  error= HA_ERR_UNSUPPORTED;
+	  break;
+	}
         error= create_ordered_index(index_name, key_info);
         break;
       default:
Thread
bk commit into 5.0 tree (mskold:1.2359)Martin Skold8 Jan