mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'experiment' of https://github.com/guidoreina/ArangoDB into experiment
This commit is contained in:
commit
5da5715fa9
|
@ -405,7 +405,7 @@ bool TRI_ExistsFile (char const* path) {
|
|||
/// @brief creates a directory, recursively
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool TRI_CreateRecursiveDirectory (char const* path) {
|
||||
int TRI_CreateRecursiveDirectory (char const* path) {
|
||||
char* copy;
|
||||
char* p;
|
||||
char* s;
|
||||
|
|
|
@ -91,7 +91,7 @@ bool TRI_ExistsFile (char const* path);
|
|||
/// @brief creates a directory, recursively
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool TRI_CreateRecursiveDirectory (char const* path);
|
||||
int TRI_CreateRecursiveDirectory (char const* path);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief creates a directory
|
||||
|
|
|
@ -89,8 +89,6 @@ TRI_blob_t* TRI_CopyBlob (TRI_memory_zone_t* zone, TRI_blob_t const* src) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
dst->length = src->length;
|
||||
|
||||
if (src->length == 0 || src->data == NULL) {
|
||||
dst->length = 0;
|
||||
dst->data = NULL;
|
||||
|
@ -115,8 +113,6 @@ TRI_blob_t* TRI_CopyBlob (TRI_memory_zone_t* zone, TRI_blob_t const* src) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int TRI_CopyToBlob (TRI_memory_zone_t* zone, TRI_blob_t* dst, TRI_blob_t const* src) {
|
||||
dst->length = src->length;
|
||||
|
||||
if (src->length == 0 || src->data == NULL) {
|
||||
dst->length = 0;
|
||||
dst->data = NULL;
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
|
||||
// .............................................................................
|
||||
// Some global variables which may be required throughtout the lifetime of the
|
||||
// Some global variables which may be required throughout the lifetime of the
|
||||
// server
|
||||
// .............................................................................
|
||||
|
||||
|
|
Loading…
Reference in New Issue