diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2008-02-04 17:31:23 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2008-02-04 17:31:23 (GMT) |
commit | 81326f22ab2ae11a12ba59ed9e42fcb3e842434d (patch) | |
tree | 38bece3455c3162d175f1c905f236a3a8f518905 /hl/src/H5TB.c | |
parent | af634ca420167a2c3af2cf6ea8fff62be250f257 (diff) | |
download | hdf5-81326f22ab2ae11a12ba59ed9e42fcb3e842434d.zip hdf5-81326f22ab2ae11a12ba59ed9e42fcb3e842434d.tar.gz hdf5-81326f22ab2ae11a12ba59ed9e42fcb3e842434d.tar.bz2 |
[svn-r14489] Maintenance: I am reverting Pedro's change since we have 1.8 branch code freeze. No changes
are allowed until official announcement.
Diffstat (limited to 'hl/src/H5TB.c')
-rw-r--r-- | hl/src/H5TB.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hl/src/H5TB.c b/hl/src/H5TB.c index e80f86c..3502b3a 100644 --- a/hl/src/H5TB.c +++ b/hl/src/H5TB.c @@ -1353,7 +1353,9 @@ 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 /*------------------------------------------------------------------------- @@ -1441,9 +1443,11 @@ 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) |