diff options
author | unknown <mskold/marty@mysql.com/linux.site> | 2007-01-08 13:53:37 +0100 |
---|---|---|
committer | unknown <mskold/marty@mysql.com/linux.site> | 2007-01-08 13:53:37 +0100 |
commit | 817ed4029e1a99519e4eb4833b2e2818c8f116c5 (patch) | |
tree | 5682b936be4524251bf508aba41fc512cb1c71de /mysql-test/t/ndb_index_ordered.test | |
parent | 672998ea5f3f9793f2203b12da1b6affbe40ae13 (diff) | |
download | mariadb-git-817ed4029e1a99519e4eb4833b2e2818c8f116c5.tar.gz |
bug#24820 CREATE INDEX ....USING HASH on NDB table creates ordered index, not HASH index: Changed test since error mesage wasn't predictable
Diffstat (limited to 'mysql-test/t/ndb_index_ordered.test')
-rw-r--r-- | mysql-test/t/ndb_index_ordered.test | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mysql-test/t/ndb_index_ordered.test b/mysql-test/t/ndb_index_ordered.test index fa76202c7b7..5867140fabb 100644 --- a/mysql-test/t/ndb_index_ordered.test +++ b/mysql-test/t/ndb_index_ordered.test @@ -359,14 +359,12 @@ select count(*) from t1 where c<'bbb'; # bug#24820 CREATE INDEX ....USING HASH on NDB table creates ordered index, not HASH index +--error ER_CANT_CREATE_TABLE create table nationaldish (DishID int(10) unsigned NOT NULL AUTO_INCREMENT, CountryCode char(3) NOT NULL, DishTitle varchar(64) NOT NULL, calories smallint(5) unsigned DEFAULT NULL, - PRIMARY KEY (DishID) + PRIMARY KEY (DishID), + INDEX i USING HASH (countrycode,calories) ) ENGINE=ndbcluster; ---error ER_CANT_CREATE_TABLE -create index i using hash on nationaldish(countrycode,calories); - -drop table nationaldish; |