mirror of https://gitee.com/bigwinds/arangodb
Bug fix 3.4/fix smart graph issues (#9861)
* release version 3.4.8 * [3.4] fix agency lockup when removing 404-ed callbacks (#9839) * fix output of `require("@arangodb/smart-graph")._listObjects()`, which was broken before * updated CHANGELOG
This commit is contained in:
parent
cf005b3f45
commit
f9fdc39340
|
@ -1,6 +1,12 @@
|
|||
v3.4.9 (XXXX-XX-XX)
|
||||
-------------------
|
||||
|
||||
* Fixed output of `_listObjects()` function of "general-graph" and "smart-graph"
|
||||
modules, which did not print the `_id` values of the return graphs correctly.
|
||||
|
||||
* Fixed undefined behavior in single server mode when trying to create a smart
|
||||
graph.
|
||||
|
||||
* Add count of objects to latency reporting in arangoimport.
|
||||
|
||||
* Fixed adding an orphan collections as the first collection in a SmartGraph.
|
||||
|
|
|
@ -170,6 +170,7 @@ static void JS_GetGraph(v8::FunctionCallbackInfo<v8::Value> const& args) {
|
|||
result.close();
|
||||
VPackSlice resSlice = result.slice().get("graph");
|
||||
|
||||
|
||||
TRI_V8_RETURN(TRI_VPackToV8(isolate, resSlice));
|
||||
TRI_V8_TRY_CATCH_END
|
||||
}
|
||||
|
@ -189,7 +190,8 @@ static void JS_GetGraphs(v8::FunctionCallbackInfo<v8::Value> const& args) {
|
|||
}
|
||||
|
||||
if (!result.isEmpty()) {
|
||||
TRI_V8_RETURN(TRI_VPackToV8(isolate, result.slice().get("graphs")));
|
||||
auto ctx = std::make_shared<transaction::StandaloneContext>(vocbase);
|
||||
TRI_V8_RETURN(TRI_VPackToV8(isolate, result.slice().get("graphs"), ctx->getVPackOptionsForDump()));
|
||||
}
|
||||
|
||||
TRI_V8_RETURN_UNDEFINED();
|
||||
|
|
Loading…
Reference in New Issue