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

Diff of /global/libdb/bt_split.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 678  bt_psplit(t, h, l, r, pskip, ilen) Line 678  bt_psplit(t, h, l, r, pskip, ilen)
678                   * where we decide to try and copy too much onto the left page.                   * where we decide to try and copy too much onto the left page.
679                   * Make sure that doesn't happen.                   * Make sure that doesn't happen.
680                   */                   */
681                  if (skip <= off &&                  if ((skip <= off &&
682                      used + nbytes + sizeof(indx_t) >= full || nxt == top - 1) {                      used + nbytes + sizeof(indx_t) >= full) || nxt == top - 1) {
683                          --off;                          --off;
684                          break;                          break;
685                  }                  }

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