diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-17 21:04:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-17 21:04:44 (GMT) |
commit | 814ad1cb42a824fc5a0b0b4d675aa7b4c6caec4c (patch) | |
tree | c02814849855790343ad1c2b421c73b3eaaf270d /src/H5Gdeprec.c | |
parent | 4be636f4f00271f85802fbb6ef079146f2dbf7fb (diff) | |
download | hdf5-814ad1cb42a824fc5a0b0b4d675aa7b4c6caec4c.zip hdf5-814ad1cb42a824fc5a0b0b4d675aa7b4c6caec4c.tar.gz hdf5-814ad1cb42a824fc5a0b0b4d675aa7b4c6caec4c.tar.bz2 |
[svn-r13986] Description:
Add flag to bypass (expensive) B-tree & heap size retrieval for
internal calls to H5O_get_info().
Teted on:
Mac OS X/32 10.4.10 (amazon)
FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Gdeprec.c')
-rw-r--r-- | src/H5Gdeprec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c index 2f6d4e5..69779ff 100644 --- a/src/H5Gdeprec.c +++ b/src/H5Gdeprec.c @@ -1052,7 +1052,8 @@ H5G_get_objinfo_cb(H5G_loc_t *grp_loc/*in*/, const char UNUSED *name, const H5O_ H5O_info_t oinfo; /* Object information */ /* Go retrieve the object information */ - if(H5O_get_info(obj_loc->oloc, &oinfo, udata->dxpl_id) < 0) + /* (don't need index & heap info) */ + if(H5O_get_info(obj_loc->oloc, udata->dxpl_id, FALSE, &oinfo) < 0) HGOTO_ERROR(H5E_OHDR, H5E_CANTGET, FAIL, "unable to get object info") /* Get mapped object type */ |