mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
22400966b2
|
@ -231,8 +231,6 @@ namespace triagens {
|
|||
|
||||
static std::string statusText (StatusType status) {
|
||||
switch (status) {
|
||||
case StatusType::UNKNOWN:
|
||||
return "unknown";
|
||||
case StatusType::EMPTY:
|
||||
return "empty";
|
||||
case StatusType::OPEN:
|
||||
|
@ -245,6 +243,9 @@ namespace triagens {
|
|||
return "collection-requested";
|
||||
case StatusType::COLLECTED:
|
||||
return "collected";
|
||||
case StatusType::UNKNOWN:
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -585,7 +585,7 @@ uint32_t TRI_Crc32HashPointer (void const* data, size_t length) {
|
|||
/// @brief computes a CRC32 for strings
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
uint64_t TRI_Crc32HashString (char const* data) {
|
||||
uint32_t TRI_Crc32HashString (char const* data) {
|
||||
uint32_t crc;
|
||||
uint8_t const* ptr;
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ uint32_t TRI_Crc32HashPointer (void const*, size_t);
|
|||
/// @brief computes a CRC32 for strings
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
uint64_t TRI_Crc32HashString (char const*);
|
||||
uint32_t TRI_Crc32HashString (char const*);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @}
|
||||
|
|
Loading…
Reference in New Issue