summaryrefslogtreecommitdiffstats
path: root/src/H5Dcompact.c
diff options
context:
space:
mode:
authorvchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com>2023-08-04 21:36:50 (GMT)
committerGitHub <noreply@github.com>2023-08-04 21:36:50 (GMT)
commitede4987b636df78637d9357d00dba172278c2362 (patch)
treed8143cc1ed6fd489e42f5898b4c630d28fdfee54 /src/H5Dcompact.c
parent915cadb44f11b9875ec13c7396d3f5b17def1785 (diff)
downloadhdf5-ede4987b636df78637d9357d00dba172278c2362.zip
hdf5-ede4987b636df78637d9357d00dba172278c2362.tar.gz
hdf5-ede4987b636df78637d9357d00dba172278c2362.tar.bz2
Fix for the bug exposed from running test/set_extent.c when selection… (#3319)
* Fix for the bug exposed from running test/set_extent.c when selection I/O is enabled. This is a fix from Neil. The test/set_extent.c is modified to test for selection I/O enabled.
Diffstat (limited to 'src/H5Dcompact.c')
-rw-r--r--src/H5Dcompact.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Dcompact.c b/src/H5Dcompact.c
index 96a9123..c16b24b 100644
--- a/src/H5Dcompact.c
+++ b/src/H5Dcompact.c
@@ -233,8 +233,9 @@ H5D__compact_io_init(H5D_io_info_t *io_info, H5D_dset_io_info_t *dinfo)
{
FUNC_ENTER_PACKAGE_NOERR
- dinfo->store->compact.buf = dinfo->dset->shared->layout.storage.u.compact.buf;
- dinfo->store->compact.dirty = &dinfo->dset->shared->layout.storage.u.compact.dirty;
+ dinfo->store->compact.buf = dinfo->dset->shared->layout.storage.u.compact.buf;
+ dinfo->store->compact.dirty = &dinfo->dset->shared->layout.storage.u.compact.dirty;
+ dinfo->layout_io_info.contig_piece_info = NULL;
/* Disable selection I/O */
io_info->use_select_io = H5D_SELECTION_IO_MODE_OFF;