1
0
Fork 0

make id a string so all of it can be passed on to V8. (#8933)

This commit is contained in:
Wilfried Goesgens 2019-05-08 18:52:30 +02:00 committed by Jan
parent 2a66b53591
commit c43ec49eae
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
devel devel
----- -----
* ArangoQueryStreamCursor.prototype.id needs to be a string, v8 32 bit integers
can't hold the full data.
* upgraded Swagger UI to 3.22.1 * upgraded Swagger UI to 3.22.1
* add --compress-output flag to arangodump. Activates gzip compression for * add --compress-output flag to arangodump. Activates gzip compression for

View File

@ -538,7 +538,7 @@ struct V8Cursor final {
if (self == nullptr) { if (self == nullptr) {
TRI_V8_RETURN(v8::Undefined(isolate)); TRI_V8_RETURN(v8::Undefined(isolate));
} }
TRI_V8_RETURN(v8::Integer::New(isolate, self->_cursorId)); TRI_V8_RETURN(TRI_V8UInt64String<TRI_voc_tick_t>(isolate, self->_cursorId));
} }
private: private: