Re: unique key and nulls
Apparently this does not work for NDBCLUSTER as the engine.
mysql> source /gark/rickmysql/scripts/create_mysql.sql;
Database changed
Query OK, 0 rows affected, 1 warning (0.00 sec)
Query OK, 0 rows affected (0.69 sec)
ERROR 1296 (HY000): Got error 4243 'Index not found' from NDBCLUSTER
ERROR 1296 (HY000): Got error 4243 'Index not found' from NDBCLUSTER
ERROR 1296 (HY000): Got error 4243 'Index not found' from NDBCLUSTER
ERROR 1296 (HY000): Got error 4243 'Index not found' from NDBCLUSTER
mysql> describe MASTER_INDEX;
ERROR 1296 (HY000): Got error 4243 'Index not found' from NDBCLUSTER
here is the sql
use test;
drop table if exists MASTER_INDEX;
create table MASTER_INDEX (
x VARCHAR(15) NOT NULL,
y VARCHAR(15),
a VARCHAR(1000),
b VARCHAR(1000),
c VARCHAR(1000),
m CHAR(2),
n CHAR(2),
o CHAR(2),
pCHAR(2),
PRIMARY KEY HASH (x))
ENGINE=NDBCLUSTER;
create unique index idx_a on MASTER_INDEX(a);
create unique index idx_b on MASTER_INDEX(b);
create unique index idx_c on MASTER_INDEX(c);
create unique index idx_d on MASTER_INDEX(d);
Subject
Views
Written By
Posted
2619
May 09, 2006 06:43AM
1720
May 09, 2006 11:42PM
1513
May 10, 2006 06:01AM
Re: unique key and nulls
2863
May 10, 2006 07:52AM
1754
May 10, 2006 07:10PM
1452
May 11, 2006 04:15AM
1624
May 11, 2006 03:20PM
1318
May 11, 2006 04:01PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.