1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
scottashton 2014-03-27 11:06:47 +01:00
commit 22400966b2
3 changed files with 5 additions and 4 deletions

View File

@ -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";
}
}

View File

@ -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;

View File

@ -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*);
////////////////////////////////////////////////////////////////////////////////
/// @}