Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.4.34 Dictionary::initDefaultHashMap()

Description.  Initialize a default hash map for a table.

Added in NDB 7.2.7.

Signature. 

int initDefaultHashMap
    (
      HashMap& dst,
      Uint32 fragments
    )

or

int initDefaultHashMap
    (
      HashMap& dst,
      Uint32 buckets,
      Uint32 fragments
    )

Parameters.  A reference to the hash map and the number of fragments. Optionally the number of buckets.

Return value.  Returns 0 on success; on failure, returns -1 and sets an error.


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