From b6e0f4cce7ad47d53eee0d04af28542905d53df2 Mon Sep 17 00:00:00 2001 From: eastfisher Date: Wed, 31 Jul 2019 10:44:43 +0800 Subject: [PATCH] update log info --- proxy/plan/plan_insert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/plan/plan_insert.go b/proxy/plan/plan_insert.go index 1886071a..85487182 100644 --- a/proxy/plan/plan_insert.go +++ b/proxy/plan/plan_insert.go @@ -250,7 +250,7 @@ func handleInsertValues(p *InsertPlan) error { } } if len(p.result.GetShardIndexes()) == 0 { - return fmt.Errorf("batch insert has cross slice values") + return fmt.Errorf("batch insert has cross slice values or no route found") } return nil }