diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-12-01 20:58:00 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-12-01 20:58:00 (GMT) |
commit | 3f26602c9e83c756115e9b2270bc8c1af5eaed0a (patch) | |
tree | 0a6d7088c65e5151c495894368ad6bf81ad4eab8 /src/H5Dchunk.c | |
parent | 78e90e5780e2f313a745e0c3b4eac5e3ee8a6db8 (diff) | |
download | hdf5-3f26602c9e83c756115e9b2270bc8c1af5eaed0a.zip hdf5-3f26602c9e83c756115e9b2270bc8c1af5eaed0a.tar.gz hdf5-3f26602c9e83c756115e9b2270bc8c1af5eaed0a.tar.bz2 |
[svn-r16145] Merging with trunk regarding revisions
16132
some chunks were not deleted for some cases, the comparison to check for chunk offsets outside of the new dimensions was
chunk_offset[ i ] > dimension [ i ]
and it must be
chunk_offset[ i ] >= dimension [ i ]
16133
H5TBdelete_record was not handlong correctly records at the end of the table
added a ckeck that avoids to read these records if they are not needed (for pushing down the table)
16143
add a test for recent fixes of H5Dset_extent
tested: windows, linux
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r-- | src/H5Dchunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index d8e13a5..6058e16 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -3483,7 +3483,7 @@ H5D_chunk_prune_by_extent(H5D_t *dset, hid_t dxpl_id, const hsize_t *old_dims) /* Check for chunk offset outside of new dimensions */ for(u = 0; u < rank; u++) - if((hsize_t)ent->offset[u] > curr_dims[u]) { + if((hsize_t)ent->offset[u] >= curr_dims[u]) { /* Evict the entry from the cache, but do not flush it to disk */ if(H5D_chunk_cache_evict(dset, dxpl_id, dxpl_cache, ent, FALSE) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTREMOVE, FAIL, "unable to evict chunk") |