mirror of https://gitee.com/bigwinds/arangodb
blind attempt to fix MacOS compile error
This commit is contained in:
parent
0d48677619
commit
08ee458608
|
@ -227,7 +227,7 @@ arangodb::Result addShardFollower (
|
||||||
return arangodb::Result(TRI_ERROR_ARANGO_DATA_SOURCE_NOT_FOUND, errorMsg);
|
return arangodb::Result(TRI_ERROR_ARANGO_DATA_SOURCE_NOT_FOUND, errorMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t c;
|
uint64_t c;
|
||||||
count(collection, c);
|
count(collection, c);
|
||||||
VPackBuilder body;
|
VPackBuilder body;
|
||||||
{ VPackObjectBuilder b(&body);
|
{ VPackObjectBuilder b(&body);
|
||||||
|
@ -723,7 +723,7 @@ bool SynchronizeShard::first() {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto ep = clusterInfo->getServerEndpoint(leader);
|
auto ep = clusterInfo->getServerEndpoint(leader);
|
||||||
size_t c;
|
uint64_t c;
|
||||||
if (!count(collection, c).ok()) {
|
if (!count(collection, c).ok()) {
|
||||||
std::stringstream error;
|
std::stringstream error;
|
||||||
error << "failed to get a count on leader " << shard;
|
error << "failed to get a count on leader " << shard;
|
||||||
|
|
Loading…
Reference in New Issue