.(gz|cmp|tar|rpm|srpm)$
support/libmemcached.pc$
support/libmemcached.spec$
+docs/pod2htmd.tmp
+docs/pod2htmi.tmp
+lib/memcachedplus.loT
+tests/atomsmasher
+tests/startservers
+tests/stopservers
+tests/udptest
+
Makefile(.in)?$
+0.17
+ * More error messages on command line tools.
+
0.16
* Work on the UDP protocol
* Added get_by_key, set_by_key tests for C++ API
just ask you to commit directly to the tree. I am happy to have additional
people work on this project.
+If you are looking for answers to your questions please check out the
+mailing list at:
+http://lists.tangent.org/ libmemcached.
+
Cheers,
-Brian Aker
Seattle, WA.
Andre Cruz - Help with getting the CRC Hash function to match other connectors
Brian Pontz - Hsieh hash
Tim Bunce - Perl Driver work and feedback on API
+Kevin Dalley - Bug Fixes
+Patrick Galbraith - work on C++ interface
Ross McFarland - Idea for sorting servers.
- Make a "make deb"... or accept patch...
- implement more connection/hash algo
- implement compression
+- Finish UDP protocol
+- Revisit get() code (look for performance enhancements)
#release versioning
MEMCACHED_MAJOR_VERSION=0
-MEMCACHED_MINOR_VERSION=16
+MEMCACHED_MINOR_VERSION=17
MEMCACHED_MICRO_VERSION=0
#API version
#define MEMCACHED_DEFAULT_TIMEOUT INT32_MAX
/* string value */
-#define LIBMEMCACHED_VERSION_STRING "0.16"
+#define LIBMEMCACHED_VERSION_STRING "0.17"
typedef enum {
MEMCACHED_SUCCESS,
if ((temp= getenv("MEMCACHED_SERVERS")))
opt_servers= strdup(temp);
else
+ {
+ fprintf(stderr, "No Servers provided\n");
exit(1);
+ }
}
memc= memcached_create(NULL);
if ((temp= getenv("MEMCACHED_SERVERS")))
opt_servers= strdup(temp);
else
+ {
+ fprintf(stderr, "No Servers provided\n");
exit(1);
+ }
}
if (opt_servers)
if ((temp= getenv("MEMCACHED_SERVERS")))
opt_servers= strdup(temp);
else
+ {
+ fprintf(stderr, "No Servers provided\n");
exit(1);
+ }
}
memc= memcached_create(NULL);
if ((temp= getenv("MEMCACHED_SERVERS")))
opt_servers= strdup(temp);
else
+ {
+ fprintf(stderr, "No Servers provided\n");
exit(1);
+ }
}
memc= memcached_create(NULL);
if ((temp= getenv("MEMCACHED_SERVERS")))
opt_servers= strdup(temp);
else
+ {
+ fprintf(stderr, "No Servers provided\n");
exit(1);
+ }
}
servers= memcached_servers_parse(opt_servers);
if ((temp= getenv("MEMCACHED_SERVERS")))
opt_servers= strdup(temp);
else
+ {
+ fprintf(stderr, "No Servers provided\n");
exit(1);
+ }
}
memc= memcached_create(NULL);
LIBS =
noinst_HEADERS = test.h server.h
-noinst_PROGRAMS = testapp testplus udptest atomsmasher
+noinst_PROGRAMS = testapp testplus udptest atomsmasher startservers
testapp_SOURCES = test.c function.c ../src/generator.c ../src/execute.c server.c
testapp_LDADD = $(LDADDS)
atomsmasher_SOURCES = test.c atomsmasher.c server.c ../src/generator.c ../src/execute.c
atomsmasher_LDADD = $(LDADDS)
+startservers_SOURCES = start.c server.c
+startservers_LDADD = $(LDADDS)
+
record:
./testapp > output.res
{
char buffer[1024]; /* Nothing special for number */
int count;
+ int status;
if (construct->udp)
- sprintf(buffer, "memcached -d -P /tmp/%umemc.pid -U %u", x, x+ TEST_PORT_BASE);
+ sprintf(buffer, "memcached -d -P /tmp/%umemc.pid -t 1 -U %u", x, x+ TEST_PORT_BASE);
else
- sprintf(buffer, "memcached -d -P /tmp/%umemc.pid -p %u", x, x+ TEST_PORT_BASE);
- system(buffer);
+ sprintf(buffer, "memcached -d -P /tmp/%umemc.pid -t 1 -p %u", x, x+ TEST_PORT_BASE);
+ status= system(buffer);
+ WATCHPOINT_ASSERT(status == 0);
count= sprintf(end_ptr, "localhost:%u,", x + TEST_PORT_BASE);
end_ptr+= count;
}
--- /dev/null
+#include <stdio.h>
+#include <string.h>
+#include "server.h"
+
+int main(void)
+{
+ server_startup_st construct;
+
+ memset(&construct, 0, sizeof(server_startup_st));
+
+ construct.count= 4;
+
+ server_startup(&construct);
+
+ return 0;
+}