GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 27091777 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected bug when visitor does not set iterator

parent 11082aae
......@@ -17,6 +17,13 @@ hg_return_t hg_proc_mobject_store_omap_iter_t(hg_proc_t proc, mobject_store_omap
case HG_ENCODE:
if(*iter == NULL) {
hg_size_t s = 0;
ret = hg_proc_hg_size_t(proc, &s);
if(ret != HG_SUCCESS) return ret;
break;
}
ret = hg_proc_hg_size_t(proc, &((*iter)->num_items));
if(ret != HG_SUCCESS) return ret;
......
......@@ -49,19 +49,19 @@ void read_op_exec_omap_get_keys(void* u, const char* start_after, uint64_t max_r
mobject_store_omap_iter_t* iter, int* prval)
{
auto vargs = static_cast<server_visitor_args_t>(u);
omap_iter_create(iter);
// omap_iter_create(iter);
}
void read_op_exec_omap_get_vals(void* u, const char* start_after, const char* filter_prefix, uint64_t max_return, mobject_store_omap_iter_t* iter, int* prval)
{
auto vargs = static_cast<server_visitor_args_t>(u);
omap_iter_create(iter);
// omap_iter_create(iter);
}
void read_op_exec_omap_get_vals_by_keys(void* u, char const* const* keys, size_t num_keys, mobject_store_omap_iter_t* iter, int* prval)
{
auto vargs = static_cast<server_visitor_args_t>(u);
omap_iter_create(iter);
// omap_iter_create(iter);
}
void read_op_exec_end(void* u)
......
......@@ -4,7 +4,7 @@
* See COPYRIGHT in top-level directory.
*/
#define FAKE_CPP_SERVER
//#define FAKE_CPP_SERVER
#include <assert.h>
#include <mpi.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment