diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2014-03-18 23:48:11 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2014-03-18 23:48:11 (GMT) |
commit | 39fe636db8f4e389b58d213a34b83be175355051 (patch) | |
tree | 17736f5d2743364b9ccb221c52538a0651a2f367 /src/H5V.c | |
parent | 4be4ca8af6d99f19dde14941c146bd77f332f9e8 (diff) | |
download | hdf5-39fe636db8f4e389b58d213a34b83be175355051.zip hdf5-39fe636db8f4e389b58d213a34b83be175355051.tar.gz hdf5-39fe636db8f4e389b58d213a34b83be175355051.tar.bz2 |
[svn-r24836] Modify client_index to create one dataset per process
More implementation of H5Xdummy
Check that plugin callbacks are implemented
Mores fixes / cleanup
Diffstat (limited to 'src/H5V.c')
-rw-r--r-- | src/H5V.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -366,6 +366,8 @@ H5Vcreate_ff(hid_t loc_id, hid_t query_id, hid_t vcpl_id, hid_t rcxt_id, hid_t e if (H5P_set(xxpl_plist, H5VL_CONTEXT_ID, &rcxt_id) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for trans_id"); + if (NULL == idx_class->query) + HGOTO_ERROR(H5E_INDEX, H5E_BADVALUE, FAIL, "plugin query callback is not defined"); if (FAIL == idx_class->query(idx_handle, query_id, xxpl_id, &dataspace_id)) HGOTO_ERROR(H5E_INDEX, H5E_CANTCLOSEOBJ, FAIL, "cannot close index"); } |