diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2016-11-14 21:21:52 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2016-11-14 21:21:52 (GMT) |
commit | a6c64046431266a313aedb2486d838d449661508 (patch) | |
tree | 6fa905e70c1dedeca3eb4ac5c2738c1f39158a42 /src/H5Pdxpl.c | |
parent | 94b0ec89c4db734d10f0a94b02a418cd22fcbe1a (diff) | |
download | hdf5-a6c64046431266a313aedb2486d838d449661508.zip hdf5-a6c64046431266a313aedb2486d838d449661508.tar.gz hdf5-a6c64046431266a313aedb2486d838d449661508.tar.bz2 |
Initial implementation of dataset create/open/close, transactions. Not
working on boro, though it is unclear if that is due to a pug in this
code or in daos.
Diffstat (limited to 'src/H5Pdxpl.c')
-rw-r--r-- | src/H5Pdxpl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5Pdxpl.c b/src/H5Pdxpl.c index 9353094..df80725 100644 --- a/src/H5Pdxpl.c +++ b/src/H5Pdxpl.c @@ -39,6 +39,7 @@ #include "H5Dprivate.h" /* Datasets */ #include "H5Eprivate.h" /* Error handling */ #include "H5FDprivate.h" /* File drivers */ +#include "H5FFprivate.h" /* Fast Forward routines */ #include "H5Iprivate.h" /* IDs */ #include "H5MMprivate.h" /* Memory management */ #include "H5Ppkg.h" /* Property lists */ @@ -315,6 +316,7 @@ static const H5FD_dxpl_type_t H5D_dxpl_type_g = H5FD_NOIO_DXPL; /* Default value static herr_t H5P__dxfr_reg_prop(H5P_genclass_t *pclass) { + hid_t trans_id = FAIL; herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_STATIC @@ -506,6 +508,11 @@ H5P__dxfr_reg_prop(H5P_genclass_t *pclass) NULL, NULL, NULL, NULL) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTINSERT, FAIL, "can't insert property into class") + /* Register the transaction ID property*/ + if(H5P_register_real(pclass, H5VL_TRANS_ID, sizeof(hid_t), &trans_id, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL) < 0) + HGOTO_ERROR(H5E_PLIST, H5E_CANTINSERT, FAIL, "can't insert property into class") + #ifdef H5_DEBUG_BUILD /* Register the dxpl IO type property */ if(H5P_register_real(pclass, H5FD_DXPL_TYPE_NAME, H5FD_DXPL_TYPE_SIZE, &H5D_dxpl_type_g, |