Commit 33b5deed authored by Flavio Paiva Junqueira's avatar Flavio Paiva Junqueira
Browse files

ZOOKEEPER-1821. very ugly warning when compiling load_gen.c (german blanco via fpj)


git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1546231 13f79535-47bb-0310-9956-ffa450edef68
parent b713620d
......@@ -167,6 +167,9 @@ BUGFIXES:
ZOOKEEPER-1653. zookeeper fails to start because of inconsistent
epoch (michim via fpj)
ZOOKEEPER-1821. very ugly warning when compiling load_gen.c
(german blanco via fpj)
IMPROVEMENTS:
ZOOKEEPER-1564. Allow JUnit test build with IBM Java
......
......@@ -106,6 +106,7 @@ int doCreateNodes(const char* root, int count){
}
if(rc!=ZOK) return rc;
}
return ZOK;
}
int createRoot(const char* root){
......@@ -131,6 +132,7 @@ int doWrites(const char* root, int count){
rc=zoo_aset(zh, nodeName, "second", 6,-1,write_completion, 0);
if(rc!=ZOK) return rc;
}
return ZOK;
}
void read_completion(int rc, const char *value, int value_len,
......@@ -159,6 +161,7 @@ int doReads(const char* root, int count){
rc=zoo_aget(zh, nodeName,0,read_completion, 0);
if(rc!=ZOK) return rc;
}
return ZOK;
}
void delete_completion(int rc, const void *data) {
......@@ -176,6 +179,7 @@ int doDeletes(const char* root, int count){
rc=zoo_adelete(zh, nodeName,-1,delete_completion, 0);
if(rc!=ZOK) return rc;
}
return ZOK;
}
static int free_String_vector(struct String_vector *v) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment