54 if ((arg_count != 2 && arg_count != 3) ||
55 ! (key= args[0]->
val_str(&value)) ||
56 ! (res= args[1]->
val_str(&value)) ||
64 String *tmp_exp= args[2]->val_str(&value);;
66 expiration= (time_t)atoi(tmp_exp->c_ptr());
69 rc= memcached_add(memc, key->c_ptr(), key->length(),
70 res->c_ptr(), res->length(),
71 expiration, (uint16_t) 0);
73 if (rc != MEMCACHED_SUCCESS)