diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-23 15:26:25 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-23 15:26:25 (GMT) |
commit | 9c30e7bba121b63c62b2d76c1c0353a5145bdd73 (patch) | |
tree | 7dcc5f620076d83997058f311e0dd019339b9609 /src/H5B2.c | |
parent | 2c7ce93f85905bb31e594f55ab2cd0c125fb36be (diff) | |
download | hdf5-9c30e7bba121b63c62b2d76c1c0353a5145bdd73.zip hdf5-9c30e7bba121b63c62b2d76c1c0353a5145bdd73.tar.gz hdf5-9c30e7bba121b63c62b2d76c1c0353a5145bdd73.tar.bz2 |
[svn-r12619] Description:
Fix off-by-one error in computing the size of metadata prefixes for v2
B-tree internal & leaf nodes.
General code cleanup and reformating.
Tested On:
Mac OS X.4/PPC (amazon)
Too minor to require h5committest
Diffstat (limited to 'src/H5B2.c')
-rw-r--r-- | src/H5B2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ H5B2_insert(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, haddr_t addr, /* Mark B-tree header as dirty, since we updated the address of the root node */ bt2_flags |= H5AC__DIRTIED_FLAG; } /* end if */ - /* Check if we need to split the root node (equiv. to a 1->2 leaf node split) */ + /* Check if we need to split the root node (equiv. to a 1->2 node split) */ else if((bt2->depth==0 && bt2->root.node_nrec==shared->split_leaf_nrec) || (bt2->depth>0 && bt2->root.node_nrec==shared->split_int_nrec)) { /* Split root node */ |