diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-02-04 16:02:55 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-02-04 16:02:55 (GMT) |
commit | af634ca420167a2c3af2cf6ea8fff62be250f257 (patch) | |
tree | fd79f62663662ea7bbc871e87ed140d6c57607d4 /hl | |
parent | 6c25da593330815b0fb1eff27b5cf2fed86bc130 (diff) | |
download | hdf5-af634ca420167a2c3af2cf6ea8fff62be250f257.zip hdf5-af634ca420167a2c3af2cf6ea8fff62be250f257.tar.gz hdf5-af634ca420167a2c3af2cf6ea8fff62be250f257.tar.bz2 |
[svn-r14488] uncomment a call to H5Dset_extent in the delete records function
this function was done in 2002 but was at a time (2003-2006) previewed not to be used
it is now being used again
tested: windows, linux
Diffstat (limited to 'hl')
-rw-r--r-- | hl/src/H5TB.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hl/src/H5TB.c b/hl/src/H5TB.c index 3502b3a..e80f86c 100644 --- a/hl/src/H5TB.c +++ b/hl/src/H5TB.c @@ -1353,9 +1353,7 @@ herr_t H5TBdelete_record( hid_t loc_id, size_t *src_offset; size_t *src_sizes; hsize_t nrows; -#if defined (SHRINK) hsize_t dims[1]; -#endif /*------------------------------------------------------------------------- @@ -1443,11 +1441,9 @@ herr_t H5TBdelete_record( hid_t loc_id, * Change the table dimension *------------------------------------------------------------------------- */ -#if defined (SHRINK) dims[0] = ntotal_records - nrecords; if(H5Dset_extent( did, dims ) < 0) goto out; -#endif /* End access to the dataset */ if(H5Dclose( did ) < 0) |