mirror of https://gitee.com/bigwinds/arangodb
added stress test
This commit is contained in:
parent
865d0936e4
commit
ce60a20d47
|
@ -64,6 +64,7 @@ libavocado_a_SOURCES = \
|
|||
Rest/HttpRequest.cpp \
|
||||
Rest/HttpResponse.cpp \
|
||||
Rest/Initialise.cpp \
|
||||
Rest/JsonContainer.cpp \
|
||||
Rest/SslInterface.cpp \
|
||||
Rest/Url.cpp \
|
||||
ShapedJson/json-shaper.c \
|
||||
|
|
10
Makefile.in
10
Makefile.in
|
@ -176,8 +176,9 @@ am_libavocado_a_OBJECTS = Basics/ConditionLocker.$(OBJEXT) \
|
|||
ProgramOptions/program-options.$(OBJEXT) \
|
||||
Rest/AddressPort.$(OBJEXT) Rest/AnyServer.$(OBJEXT) \
|
||||
Rest/HttpRequest.$(OBJEXT) Rest/HttpResponse.$(OBJEXT) \
|
||||
Rest/Initialise.$(OBJEXT) Rest/SslInterface.$(OBJEXT) \
|
||||
Rest/Url.$(OBJEXT) ShapedJson/json-shaper.$(OBJEXT) \
|
||||
Rest/Initialise.$(OBJEXT) Rest/JsonContainer.$(OBJEXT) \
|
||||
Rest/SslInterface.$(OBJEXT) Rest/Url.$(OBJEXT) \
|
||||
ShapedJson/json-shaper.$(OBJEXT) \
|
||||
ShapedJson/shape-accessor.$(OBJEXT) \
|
||||
ShapedJson/shaped-json.$(OBJEXT) V8/JSLoader.$(OBJEXT) \
|
||||
V8/v8-conv.$(OBJEXT) V8/v8-json.$(OBJEXT) \
|
||||
|
@ -616,6 +617,7 @@ libavocado_a_SOURCES = \
|
|||
Rest/HttpRequest.cpp \
|
||||
Rest/HttpResponse.cpp \
|
||||
Rest/Initialise.cpp \
|
||||
Rest/JsonContainer.cpp \
|
||||
Rest/SslInterface.cpp \
|
||||
Rest/Url.cpp \
|
||||
ShapedJson/json-shaper.c \
|
||||
|
@ -1132,6 +1134,8 @@ Rest/HttpResponse.$(OBJEXT): Rest/$(am__dirstamp) \
|
|||
Rest/$(DEPDIR)/$(am__dirstamp)
|
||||
Rest/Initialise.$(OBJEXT): Rest/$(am__dirstamp) \
|
||||
Rest/$(DEPDIR)/$(am__dirstamp)
|
||||
Rest/JsonContainer.$(OBJEXT): Rest/$(am__dirstamp) \
|
||||
Rest/$(DEPDIR)/$(am__dirstamp)
|
||||
Rest/SslInterface.$(OBJEXT): Rest/$(am__dirstamp) \
|
||||
Rest/$(DEPDIR)/$(am__dirstamp)
|
||||
Rest/Url.$(OBJEXT): Rest/$(am__dirstamp) \
|
||||
|
@ -1748,6 +1752,7 @@ mostlyclean-compile:
|
|||
-rm -f Rest/HttpRequest.$(OBJEXT)
|
||||
-rm -f Rest/HttpResponse.$(OBJEXT)
|
||||
-rm -f Rest/Initialise.$(OBJEXT)
|
||||
-rm -f Rest/JsonContainer.$(OBJEXT)
|
||||
-rm -f Rest/SslInterface.$(OBJEXT)
|
||||
-rm -f Rest/Url.$(OBJEXT)
|
||||
-rm -f RestHandler/RestActionHandler.$(OBJEXT)
|
||||
|
@ -1947,6 +1952,7 @@ distclean-compile:
|
|||
@AMDEP_TRUE@@am__include@ @am__quote@Rest/$(DEPDIR)/HttpRequest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Rest/$(DEPDIR)/HttpResponse.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Rest/$(DEPDIR)/Initialise.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Rest/$(DEPDIR)/JsonContainer.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Rest/$(DEPDIR)/SslInterface.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Rest/$(DEPDIR)/Url.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@RestHandler/$(DEPDIR)/RestActionHandler.Po@am__quote@
|
||||
|
|
|
@ -515,7 +515,7 @@ TRI_doc_mptr_t const RestVocbaseBaseHandler::findDocument (string const& doc) {
|
|||
return document;
|
||||
}
|
||||
|
||||
uint32_t id = StringUtils::uint32(doc);
|
||||
TRI_voc_did_t id = StringUtils::uint64(doc);
|
||||
|
||||
// .............................................................................
|
||||
// inside read transaction
|
||||
|
|
|
@ -1855,10 +1855,6 @@ void TRI_DestroySimCollection (TRI_sim_collection_t* collection) {
|
|||
// free index vector
|
||||
TRI_DestroyVectorPointer(&collection->_indexes);
|
||||
|
||||
if (collection->base._shaper != NULL) {
|
||||
TRI_FreeVocShaper(collection->base._shaper);
|
||||
}
|
||||
|
||||
/* FIXME: DestroyDocCollection does also free the shaper?? */
|
||||
TRI_DestroyDocCollection(&collection->base);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue