Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.4.16 Dictionary::dropIndex()

Description.  This method drops an index given an instance of Index, and possibly an optional instance of Table.

Signature. 

int dropIndex
    (
      const Index& index
    )

int dropIndex
    (
      const Index& index,
      const Table& table
    )

Parameters.  This method takes two parameters, one of which is optional:

  • Required.  A reference to an Index object.

  • Optional.  A reference to a Table object.

Return value.  0 on success, -1 on failure.


User Comments
Sign Up Login You must be logged in to post a comment.