mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
This commit is contained in:
commit
9f6f15f85f
|
@ -46,6 +46,17 @@ Optimizer::Optimizer () {
|
|||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief dummyrule
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static int dummyRule (Optimizer*,
|
||||
ExecutionPlan*,
|
||||
int level,
|
||||
Optimizer::PlanList&) {
|
||||
return TRI_ERROR_NO_ERROR;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// @brief the actual optimization
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -38,17 +38,6 @@ using EN = triagens::aql::ExecutionNode;
|
|||
// --SECTION-- rules for the optimizer
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief dummyrule
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int triagens::aql::dummyRule (Optimizer*,
|
||||
ExecutionPlan*,
|
||||
int level,
|
||||
Optimizer::PlanList&) {
|
||||
return TRI_ERROR_NO_ERROR;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief remove redundant sorts
|
||||
/// this rule modifies the plan in place:
|
||||
|
|
|
@ -40,12 +40,6 @@ namespace triagens {
|
|||
// --SECTION-- rules for the optimizer
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief dummyrule
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int dummyRule (Optimizer*, ExecutionPlan*, int level, Optimizer::PlanList&);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief remove redundant sorts
|
||||
/// this rule modifies the plan in place:
|
||||
|
|
Loading…
Reference in New Issue