mirror of https://gitee.com/bigwinds/arangodb
Fix deserialisation of AqlItemBlocks (ranges).
This commit is contained in:
parent
7675012818
commit
ebf8936cd3
|
@ -126,7 +126,7 @@ AqlItemBlock::AqlItemBlock (Json const& json) {
|
||||||
Json lowBound(data.at(static_cast<int>(posInData++)));
|
Json lowBound(data.at(static_cast<int>(posInData++)));
|
||||||
Json highBound(data.at(static_cast<int>(posInData++)));
|
Json highBound(data.at(static_cast<int>(posInData++)));
|
||||||
int64_t low = JsonHelper::getNumericValue<int64_t>(lowBound.json(), 0);
|
int64_t low = JsonHelper::getNumericValue<int64_t>(lowBound.json(), 0);
|
||||||
int64_t high = JsonHelper::getNumericValue<int64_t>(lowBound.json(), 0);
|
int64_t high = JsonHelper::getNumericValue<int64_t>(highBound.json(), 0);
|
||||||
AqlValue a(low, high);
|
AqlValue a(low, high);
|
||||||
try {
|
try {
|
||||||
setValue(i, column, a);
|
setValue(i, column, a);
|
||||||
|
|
Loading…
Reference in New Issue