Home | History | Annotate | Download | only in back-wt

Lines Matching refs:cursor

72 	WT_CURSOR *cursor = wc->dn2id_w;
82 if(!cursor){
84 "overwrite=false", &cursor);
91 wc->dn2id_w = cursor;
93 cursor->set_key(cursor, revdn);
94 cursor->set_value(cursor, e->e_ndn, e->e_id, pid);
95 rc = cursor->insert(cursor);
113 if(cursor){
114 cursor->reset(cursor);
117 if(cursor){
118 cursor->close(cursor);
136 WT_CURSOR *cursor = wc->dn2id_w;
144 if(!cursor){
146 "overwrite=false", &cursor);
153 wc->dn2id_w = cursor;
156 cursor->set_key(cursor, revdn);
157 rc = cursor->remove(cursor);
177 if(cursor){
178 cursor->reset(cursor);
181 if(cursor){
182 cursor->close(cursor);
197 WT_CURSOR *cursor = wc->dn2id_ndn;
207 if(!cursor){
210 NULL, NULL, &cursor);
213 "wt_dn2id: cursor open failed: %s (%d)\n",
217 wc->dn2id_ndn = cursor;
220 cursor->set_key(cursor, ndn->bv_val);
221 rc = cursor->search(cursor);
233 rc = cursor->get_value(cursor, id);
244 if(cursor){
245 cursor->reset(cursor);
248 if(cursor){
249 cursor->close(cursor);
272 WT_CURSOR *cursor = wc->index_pid;
276 if(!cursor){
278 NULL, NULL, &cursor);
281 "wt_dn2id_has_children: cursor open failed: %s (%d)\n",
285 wc->index_pid = cursor;
288 cursor->set_key(cursor, key);
289 rc = cursor->search(cursor);
294 if(cursor){
295 cursor->reset(cursor);
298 if(cursor){
299 cursor->close(cursor);
317 WT_CURSOR *cursor = wc->dn2id;
331 if ( !cursor ) {
333 NULL, NULL, &cursor);
336 "wt_dn2idl: cursor open failed: %s (%d)\n",
340 wc->dn2id = cursor;
342 cursor->set_key(cursor, revdn);
343 rc = cursor->search(cursor);
352 cursor->next(cursor);
356 rc = cursor->get_key(cursor, &key);
363 rc = cursor->get_value(cursor, &id, &pid);
380 rc = cursor->next(cursor);
399 if(cursor){
400 cursor->reset(cursor);
403 if(cursor){
404 cursor->close(cursor);