Skip to content

Commit b84aed4

Browse files
authored
tikv: Enable div (pingcap#1727)
1 parent f495ccc commit b84aed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/tikv/coprocessor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func supportExpr(exprType tipb.ExprType) bool {
5858
tipb.ExprType_In, tipb.ExprType_ValueList,
5959
tipb.ExprType_Like, tipb.ExprType_Not:
6060
return true
61-
case tipb.ExprType_Plus:
61+
case tipb.ExprType_Plus, tipb.ExprType_Div:
6262
return true
6363
case tipb.ExprType_Count, tipb.ExprType_First, tipb.ExprType_Max, tipb.ExprType_Min, tipb.ExprType_Sum, tipb.ExprType_Avg:
6464
return true

0 commit comments

Comments
 (0)