summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorChris Hogan <chogan@hdfgroup.org>2019-11-27 16:56:52 (GMT)
committerChris Hogan <chogan@hdfgroup.org>2019-11-27 16:56:52 (GMT)
commitbbc37549dafd31f9a7ea45bff26702e1a0346c32 (patch)
tree72cd00db490b9d2e157582c3b289b6521cc05258 /src/H5D.c
parentb1f884f5a4f48a023f9aeb2eba1426299f348a49 (diff)
downloadhdf5-bbc37549dafd31f9a7ea45bff26702e1a0346c32.zip
hdf5-bbc37549dafd31f9a7ea45bff26702e1a0346c32.tar.gz
hdf5-bbc37549dafd31f9a7ea45bff26702e1a0346c32.tar.bz2
Use H5CX for LCPL property retrieval
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 c02959a..17c102c 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 LCPL for the API context */
+ H5CX_set_lcpl(lcpl_id);
+
/* Verify access property list and set up collective metadata if appropriate */
if(H5CX_set_apl(&dapl_id, H5P_CLS_DACC, loc_id, TRUE) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, H5I_INVALID_HID, "can't set access property list info")