From b84aed4925a48a632caa02f441b474fa56478256 Mon Sep 17 00:00:00 2001 From: Shen Li Date: Thu, 15 Sep 2016 11:10:49 +0800 Subject: [PATCH] tikv: Enable div (#1727) --- store/tikv/coprocessor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/tikv/coprocessor.go b/store/tikv/coprocessor.go index 83fc86fd0a..0af830c997 100644 --- a/store/tikv/coprocessor.go +++ b/store/tikv/coprocessor.go @@ -58,7 +58,7 @@ func supportExpr(exprType tipb.ExprType) bool { tipb.ExprType_In, tipb.ExprType_ValueList, tipb.ExprType_Like, tipb.ExprType_Not: return true - case tipb.ExprType_Plus: + case tipb.ExprType_Plus, tipb.ExprType_Div: return true case tipb.ExprType_Count, tipb.ExprType_First, tipb.ExprType_Max, tipb.ExprType_Min, tipb.ExprType_Sum, tipb.ExprType_Avg: return true