Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

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
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.