store/tikv: switch case when on. (#2171)

This commit is contained in:
Han Fei
2016-12-05 20:51:30 +08:00
committed by Shen Li
parent 93ae13ac57
commit e386ccc074

View File

@ -61,6 +61,8 @@ func supportExpr(exprType tipb.ExprType) bool {
return true
case tipb.ExprType_Plus, tipb.ExprType_Div:
return true
case tipb.ExprType_Case:
return true
case tipb.ExprType_Count, tipb.ExprType_First, tipb.ExprType_Max, tipb.ExprType_Min, tipb.ExprType_Sum, tipb.ExprType_Avg:
return true
case kv.ReqSubTypeDesc: