mirror of https://gitee.com/bigwinds/arangodb
re-introduced ShapedJson variable for 2.8-compatibility
This commit is contained in:
parent
a19c437cdd
commit
c539573978
|
@ -31,13 +31,10 @@
|
||||||
/// @author Copyright 2010-2013, triAGENS GmbH, Cologne, Germany
|
/// @author Copyright 2010-2013, triAGENS GmbH, Cologne, Germany
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var exports = require('internal');
|
var exports = require('internal');
|
||||||
var console = require('console');
|
var console = require('console');
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief db
|
/// @brief db
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -59,6 +56,13 @@ delete global.ArangoCollection;
|
||||||
exports.ArangoDatabase = global.ArangoDatabase;
|
exports.ArangoDatabase = global.ArangoDatabase;
|
||||||
delete global.ArangoDatabase;
|
delete global.ArangoDatabase;
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
/// @brief ShapedJson stub object - only here for compatibility with 2.8
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
exports.ShapedJson = function() {};
|
||||||
|
delete global.ShapedJson;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief enableStatistics
|
/// @brief enableStatistics
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue