Lines Matching refs:ni_cluster
121 ni->ni_cluster = (Ndb_cluster_connection **)ch_calloc( ni->ni_nconns, sizeof( Ndb_cluster_connection *));
123 ni->ni_cluster[i] = new Ndb_cluster_connection( ni->ni_connectstr );
124 rc = ni->ni_cluster[i]->connect( 20, 5, 1 );
127 "ndb_db_open: ni_cluster[%d]->connect failed (%d)",
133 rc = ni->ni_cluster[i]->wait_until_ready( 30, 30 );
136 "ndb_db_open: ni_cluster[%d]->wait failed (%d)",
278 ndb = new Ndb( ni->ni_cluster[0], ni->ni_dbname );
310 if ( ni->ni_cluster ) {
312 if ( ni->ni_cluster[i] ) {
313 delete ni->ni_cluster[i];
314 ni->ni_cluster[i] = NULL;
317 ch_free( ni->ni_cluster );
318 ni->ni_cluster = NULL;