1
0
Fork 0

Fixed handling of Null Bytes in AqlValue for VPack.

This commit is contained in:
Michael Hackstein 2016-02-16 13:54:02 +01:00
parent 85b38d09b9
commit b93e56031b
1 changed files with 1 additions and 1 deletions

View File

@ -1315,7 +1315,7 @@ void AstNode::toVelocyPackValue(VPackBuilder& builder) const {
builder.add(VPackValue(value.value._double));
break;
case VALUE_TYPE_STRING:
builder.add(VPackValue(value.value._string));
builder.add(VPackValue(std::string(value.value._string, value.length)));
break;
}
return;