Hi!

On Mar 22, 2011, at 4:44 AM, TV Ganesh wrote:

>  rc= memcached_server_push(memc, servers);
> rc= memcached_flush(memc, 0);

There is no need to call flush here unless you mean to remove all of the data 
from the servers.

>  test_true(rc == MEMCACHED_SUCCESS);
> 
>  rc= memcached_set(memc, key, strlen(key),
>                    in_value, strlen(in_value),
>                    (time_t)0, (uint32_t)0);
>  test_true(rc == MEMCACHED_SUCCESS);
> 
> Assertion Fails here..... Should I call server_startup before this?

What is the actual error messages?  But yes, the server you are connecting to 
needs to be running before you call this.

Cheers,
        -Brian

Reply via email to