1
0
Fork 0

Merge branch 'devel' of github.com:arangodb/arangodb into devel

This commit is contained in:
hkernbach 2016-04-21 12:33:52 +02:00
commit 42fed6fb0d
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ static inline v8::Handle<v8::Value> ObjectVPackString(v8::Isolate* isolate,
VPackSlice const& slice) {
arangodb::velocypack::ValueLength l;
char const* val = slice.getString(l);
if (l == 0) {
return v8::String::Empty(isolate);
}
return TRI_V8_PAIR_STRING(val, l);
}