mirror of https://gitee.com/bigwinds/arangodb
Add braces (#10460)
This commit is contained in:
parent
c142e8bc21
commit
bd1316b300
|
@ -1953,7 +1953,7 @@ arangodb::Result processPhraseArgs(
|
||||||
expectingOffset = false;
|
expectingOffset = false;
|
||||||
continue; // got offset let`s go search for value
|
continue; // got offset let`s go search for value
|
||||||
} else if ( (arangodb::iresearch::SCOPED_VALUE_TYPE_STRING != currentValue.type() || !currentValue.getString(value)) || // value is not a string at all
|
} else if ( (arangodb::iresearch::SCOPED_VALUE_TYPE_STRING != currentValue.type() || !currentValue.getString(value)) || // value is not a string at all
|
||||||
expectingOffset && !allowDefaultOffset) { // offset is expected mandatory but got value
|
(expectingOffset && !allowDefaultOffset)) { // offset is expected mandatory but got value
|
||||||
std::string expectedValue;
|
std::string expectedValue;
|
||||||
if (expectingOffset && allowDefaultOffset) {
|
if (expectingOffset && allowDefaultOffset) {
|
||||||
expectedValue = " as a value or offset";
|
expectedValue = " as a value or offset";
|
||||||
|
|
Loading…
Reference in New Issue