mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' into ClustUp1
This commit is contained in:
commit
c5a09c82d0
|
@ -157,7 +157,6 @@ class Parser {
|
||||||
if (options->clearBuilderBeforeParse) {
|
if (options->clearBuilderBeforeParse) {
|
||||||
_b->clear();
|
_b->clear();
|
||||||
}
|
}
|
||||||
_b->options = options;
|
|
||||||
return parseInternal(multi);
|
return parseInternal(multi);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,6 @@ using namespace arangodb::velocypack;
|
||||||
// build the result (build phase).
|
// build the result (build phase).
|
||||||
|
|
||||||
ValueLength Parser::parseInternal(bool multi) {
|
ValueLength Parser::parseInternal(bool multi) {
|
||||||
_b->options = options; // copy over options
|
|
||||||
|
|
||||||
// skip over optional BOM
|
// skip over optional BOM
|
||||||
if (_size >= 3 && _start[0] == 0xef && _start[1] == 0xbb &&
|
if (_size >= 3 && _start[0] == 0xef && _start[1] == 0xbb &&
|
||||||
_start[2] == 0xbf) {
|
_start[2] == 0xbf) {
|
||||||
|
|
Loading…
Reference in New Issue