Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.2Mb
PDF (A4) - 5.2Mb
EPUB - 2.2Mb
HTML Download (TGZ) - 2.1Mb
HTML Download (Zip) - 2.2Mb


2.1.2.2 API Initialization and Cleanup

Before using the NDB API, it must first be initialized by calling the ndb_init() function. Once an NDB API application is complete, call ndb_end(0) to perform any necessary cleanup. Both of these functions are defined in storage/ndb/include/ndb_init.h.

Note

It should be possible to use fork() in NDB API applications, but you must do so prior to calling ndb_init() or my_init() to avoid sharing of resources such as files and connections between processes.


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