mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
0426adb246
|
@ -120,10 +120,12 @@ function getRawQueryResults (query, bindVars) {
|
|||
}
|
||||
|
||||
var rows = [ ];
|
||||
var func = function (row) {
|
||||
rows.push(row);
|
||||
};
|
||||
|
||||
while (queryResult.hasNext()) {
|
||||
queryResult.toArray().forEach(function(row) {
|
||||
rows.push(row);
|
||||
});
|
||||
queryResult.toArray().forEach(func);
|
||||
}
|
||||
return rows;
|
||||
}
|
||||
|
|
|
@ -458,7 +458,7 @@
|
|||
|
||||
if (oldKey !== newKey) {
|
||||
try {
|
||||
doc = {
|
||||
var doc = {
|
||||
_key: newKey.toUpperCase(),
|
||||
name: newKey,
|
||||
code: f.code,
|
||||
|
|
Loading…
Reference in New Issue