/[global]/global/libdb/bt_put.c
ViewVC logotype

Diff of /global/libdb/bt_put.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by shigio, Fri Jun 20 01:10:44 2003 UTC revision 1.3 by shigio, Sun Apr 10 11:48:26 2005 UTC
# Line 232  delete:                if (__bt_dleaf(t, key, h, index Line 232  delete:                if (__bt_dleaf(t, key, h, index
232              t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= index)              t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= index)
233                  ++t->bt_cursor.pg.index;                  ++t->bt_cursor.pg.index;
234    
235          if (t->bt_order == NOT)          if (t->bt_order == NOT) {
236                  if (h->nextpg == P_INVALID) {                  if (h->nextpg == P_INVALID) {
237                          if (index == NEXTINDEX(h) - 1) {                          if (index == NEXTINDEX(h) - 1) {
238                                  t->bt_order = FORWARD;                                  t->bt_order = FORWARD;
# Line 246  delete:                if (__bt_dleaf(t, key, h, index Line 246  delete:                if (__bt_dleaf(t, key, h, index
246                                  t->bt_last.pgno = h->pgno;                                  t->bt_last.pgno = h->pgno;
247                          }                          }
248                  }                  }
249            }
250          mpool_put(t->bt_mp, h, MPOOL_DIRTY);          mpool_put(t->bt_mp, h, MPOOL_DIRTY);
251    
252  success:  success:

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26