Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jievince committed Feb 10, 2022
1 parent f8753bf commit dcb0ab1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 158 deletions.
1 change: 0 additions & 1 deletion src/common/expression/Expression.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "common/base/Base.h"
#include "common/base/ObjectPool.h"
#include "common/base/Status.h"
#include "common/context/ExpressionContext.h"
#include "common/datatypes/Value.h"

Expand Down
2 changes: 0 additions & 2 deletions src/graph/optimizer/Optimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class Optimizer final {
StatusOr<const graph::PlanNode *> findBestPlan(graph::QueryContext *qctx);

private:
Status preprocess(graph::PlanNode *root, graph::QueryContext *qctx, GraphSpaceID spaceID);

Status postprocess(graph::PlanNode *root, graph::QueryContext *qctx, GraphSpaceID spaceID);

StatusOr<OptGroup *> prepare(OptContext *ctx, graph::PlanNode *root);
Expand Down
2 changes: 0 additions & 2 deletions src/graph/util/ExpressionUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,6 @@ class ExpressionUtils {
static bool isGeoIndexAcceleratedPredicate(const Expression* expr);

static bool checkExprDepth(const Expression* expr);

static constexpr int32_t kMaxDepth = 512;
};

} // namespace graph
Expand Down
Loading

0 comments on commit dcb0ab1

Please sign in to comment.