patch 4.0
This commit is contained in:
@ -17,55 +17,68 @@
|
||||
using namespace oceanbase::sql;
|
||||
using namespace oceanbase::common;
|
||||
|
||||
int ObRawExprGetHashValue::get_hash_value(ObRawExpr& expr)
|
||||
int ObRawExprGetHashValue::get_hash_value(ObRawExpr &expr)
|
||||
{
|
||||
return expr.postorder_accept(*this);
|
||||
}
|
||||
|
||||
int ObRawExprGetHashValue::visit(ObConstRawExpr& expr)
|
||||
int ObRawExprGetHashValue::visit(ObConstRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int ObRawExprGetHashValue::visit(ObVarRawExpr& expr)
|
||||
int ObRawExprGetHashValue::visit(ObVarRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int ObRawExprGetHashValue::visit(ObQueryRefRawExpr& expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObColumnRefRawExpr& expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObOpRawExpr& expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObCaseOpRawExpr& expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObAggFunRawExpr& expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObSysFunRawExpr& expr)
|
||||
int ObRawExprGetHashValue::visit(ObOpPseudoColumnRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int ObRawExprGetHashValue::visit(ObSetOpRawExpr& expr)
|
||||
int ObRawExprGetHashValue::visit(ObQueryRefRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int ObRawExprGetHashValue::visit(ObPlQueryRefRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int ObRawExprGetHashValue::visit(ObColumnRefRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObOpRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObCaseOpRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObAggFunRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int ObRawExprGetHashValue::visit(ObSysFunRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int ObRawExprGetHashValue::visit(ObSetOpRawExpr &expr)
|
||||
{
|
||||
seed_ = expr.hash(seed_);
|
||||
return OB_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user