diff options
author | vchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com> | 2023-08-04 21:36:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 21:36:50 (GMT) |
commit | ede4987b636df78637d9357d00dba172278c2362 (patch) | |
tree | d8143cc1ed6fd489e42f5898b4c630d28fdfee54 /src/H5Defl.c | |
parent | 915cadb44f11b9875ec13c7396d3f5b17def1785 (diff) | |
download | hdf5-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/H5Defl.c')
-rw-r--r-- | src/H5Defl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Defl.c b/src/H5Defl.c index 84a3042..84f00ed 100644 --- a/src/H5Defl.c +++ b/src/H5Defl.c @@ -198,6 +198,9 @@ H5D__efl_io_init(H5D_io_info_t *io_info, H5D_dset_io_info_t *dinfo) H5MM_memcpy(&dinfo->store->efl, &(dinfo->dset->shared->dcpl_cache.efl), sizeof(H5O_efl_t)); + /* No "pieces" selected */ + dinfo->layout_io_info.contig_piece_info = NULL; + /* Disable selection I/O */ io_info->use_select_io = H5D_SELECTION_IO_MODE_OFF; io_info->no_selection_io_cause |= H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET; |