Skip to content

Does not seem to read your write. #146

@MaoZiming

Description

@MaoZiming

I have some code structured in this way:

memcached_return_t set_result;
set_result = memcached_set(memc, request->key().c_str(), request->key().size(), db_value.c_str(), db_value.size(), (time_t)ttl_, (uint32_t)0);
assert(set_result == MEMCACHED_SUCCESS);
memcached_return_t get_result;
char *value = memcached_get(memc, request->key().c_str(), request->key().size(), &value_length, &flags, &get_result);
assert(value != NULL);

The second assert is triggered, even though memcached_set has succeeded.
Just wondering what could be a possible reason for that. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedbackFeedback is required

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions