-#include <memcached.h>
+#include "common.h"
char *memcached_strerror(memcached_st *ptr, memcached_return rc)
{
return "CONNECTION DATA DOES NOT EXIST";
case MEMCACHED_NOTSTORED:
return "NOT STORED";
+ case MEMCACHED_STORED:
+ return "STORED";
case MEMCACHED_NOTFOUND:
return "NOT FOUND";
case MEMCACHED_MEMORY_ALLOCATION_FAILURE:
return "SOME ERRORS WERE REPORTED";
case MEMCACHED_NO_SERVERS:
return "NO SERVERS DEFINED";
+ case MEMCACHED_END:
+ return "SERVER END";
+ case MEMCACHED_DELETED:
+ return "SERVER DELETE";
+ case MEMCACHED_VALUE:
+ return "SERVER VALUE";
+ case MEMCACHED_STAT:
+ return "STAT VALUE";
+ case MEMCACHED_ERRNO:
+ return "UNKOWN ERROR SEE MY_ERRNO";
case MEMCACHED_MAXIMUM_RETURN:
return "Gibberish returned!";
default: