summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorChris Hogan <chogan@hdfgroup.org>2019-11-27 22:39:26 (GMT)
committerChris Hogan <chogan@hdfgroup.org>2019-11-27 22:39:26 (GMT)
commit54697cc596e7734c5890e58414833e97f5438861 (patch)
treea31ba9c4ea658713335183488fc776250187d0cf /src/H5D.c
parent6f5e5243c789c74086623c16828e7ff55197c3a3 (diff)
downloadhdf5-54697cc596e7734c5890e58414833e97f5438861.zip
hdf5-54697cc596e7734c5890e58414833e97f5438861.tar.gz
hdf5-54697cc596e7734c5890e58414833e97f5438861.tar.bz2
Set the dcpl for the context on dataset creation
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 17c102c..f49a8a3 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -136,6 +136,9 @@ H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id,
if(TRUE != H5P_isa_class(dcpl_id, H5P_DATASET_CREATE))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not dataset create property list ID")
+ /* Set the DCPL for the API context */
+ H5CX_set_dcpl(dcpl_id);
+
/* Set the LCPL for the API context */
H5CX_set_lcpl(lcpl_id);