[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
This commit is contained in:
Pedro Vicente Nunes 2008-02-04 11:02:55 -05:00
parent 6c25da5933
commit af634ca420

View File

@ -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)