From c9cdf281dad8941c12550b21a9d3e5305d4df0c9 Mon Sep 17 00:00:00 2001 From: Jason Mo Date: Tue, 17 Oct 2023 13:41:29 +0800 Subject: [PATCH] fix bug --- tests/integrationtest/r/ddl/constraint.result | 2 +- tests/integrationtest/t/expression/builtin.test | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integrationtest/r/ddl/constraint.result b/tests/integrationtest/r/ddl/constraint.result index 3356a59c669cb..803643e47e192 100644 --- a/tests/integrationtest/r/ddl/constraint.result +++ b/tests/integrationtest/r/ddl/constraint.result @@ -720,7 +720,7 @@ insert into t values(1), (2), (3); alter table t add constraint check(a < 2); Error 3819 (HY000): Check constraint 't_chk_1' is violated. alter table t add constraint check(a < 2) not enforced; -Error 3819 (HY000): Check constraint 't_chk_2' is violated. +Error 3819 (HY000): Check constraint 't_chk_1' is violated. drop table if exists t; set @@global.tidb_enable_check_constraint = 1; create table t(a int not null check(a>0), b int, constraint haha check(a < b), check(a