diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-07 15:25:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-07 15:25:06 (GMT) |
commit | bc0b7c478f4d4857023baec12763e0fb5cb45222 (patch) | |
tree | 214f769be5409eac0cac65d2d4e5324adcf1d241 /src/H5Gdense.c | |
parent | eb36a96a79dd1cd6514794a18baac5f13ce633ae (diff) | |
download | hdf5-bc0b7c478f4d4857023baec12763e0fb5cb45222.zip hdf5-bc0b7c478f4d4857023baec12763e0fb5cb45222.tar.gz hdf5-bc0b7c478f4d4857023baec12763e0fb5cb45222.tar.bz2 |
[svn-r12873] Decription:
Add support for reverse index lookup to v2 B-trees (needed for reverse
index lookup of links in groups)
Tested on:
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Gdense.c')
-rw-r--r-- | src/H5Gdense.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Gdense.c b/src/H5Gdense.c index 52aa5ce..46ba593 100644 --- a/src/H5Gdense.c +++ b/src/H5Gdense.c @@ -971,7 +971,7 @@ H5G_dense_get_name_by_idx(H5F_t *f, hid_t dxpl_id, H5O_linfo_t *linfo, /* Retrieve the name according to the v2 B-tree's index order */ /* (XXX: using name index currently) */ - if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, idx, + if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, H5_ITER_INC, idx, H5G_dense_get_name_by_idx_bt2_cb, &udata) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTLIST, FAIL, "can't locate object in v2 B-tree") @@ -1125,7 +1125,7 @@ H5G_dense_get_type_by_idx(H5F_t *f, hid_t dxpl_id, H5O_linfo_t *linfo, /* Retrieve the name according to the v2 B-tree's index order */ /* (XXX: using name index currently) */ - if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, idx, + if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, H5_ITER_INC, idx, H5G_dense_get_type_by_idx_bt2_cb, &udata) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTLIST, FAIL, "can't locate object in v2 B-tree") |