25.2.7.6 Unsupported or Missing Features in NDB Cluster (original) (raw)

25.2.7.6 Unsupported or Missing Features in NDB Cluster

A number of features supported by other storage engines are not supported for NDB tables. Trying to use any of these features in NDB Cluster does not cause errors in or of itself; however, errors may occur in applications that expects the features to be supported or enforced. Statements referencing such features, even if effectively ignored byNDB, must be syntactically and otherwise valid.

CREATE TABLE t1 (  
    c1 INT NOT NULL,  
    c2 VARCHAR(100),  
    INDEX i1 (c2(500))  
);  

This happens on account of the SQL syntax rule that no index may have a prefix larger than itself.