diff --git a/DEPS.bzl b/DEPS.bzl index b38b8d2ee6dae..50dd19869ed01 100644 --- a/DEPS.bzl +++ b/DEPS.bzl @@ -7080,13 +7080,13 @@ def go_deps(): name = "com_github_tikv_client_go_v2", build_file_proto_mode = "disable_global", importpath = "github.com/tikv/client-go/v2", - sha256 = "caf59d48dfeebaf81fc0389af427b2bc1aaa3f39760a6f77c1bb5aefce206f83", - strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20240429091414-f8bf3dd49563", + sha256 = "26c2415f678560d5a23727c12a99d67b1a10f770bb050e65d25116891993997d", + strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20240430145300-f841120d6d81", urls = [ - "http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip", - "http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip", - "https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip", - "https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip", + "http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240430145300-f841120d6d81.zip", + "http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240430145300-f841120d6d81.zip", + "https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240430145300-f841120d6d81.zip", + "https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240430145300-f841120d6d81.zip", ], ) go_repository( diff --git a/go.mod b/go.mod index 28a1f2ed07293..44582540e5c02 100644 --- a/go.mod +++ b/go.mod @@ -107,7 +107,7 @@ require ( github.com/tdakkota/asciicheck v0.2.0 github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2 github.com/tidwall/btree v1.7.0 - github.com/tikv/client-go/v2 v2.0.8-0.20240429091414-f8bf3dd49563 + github.com/tikv/client-go/v2 v2.0.8-0.20240430145300-f841120d6d81 github.com/tikv/pd/client v0.0.0-20240322051414-fb9e2d561b6e github.com/timakin/bodyclose v0.0.0-20240125160201-f835fa56326a github.com/twmb/murmur3 v1.1.6 diff --git a/go.sum b/go.sum index c08148a97ef15..425a35beec3e2 100644 --- a/go.sum +++ b/go.sum @@ -869,8 +869,8 @@ github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a h1:J/YdBZ46WKpXsxsW github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a/go.mod h1:h4xBhSNtOeEosLJ4P7JyKXX7Cabg7AVkWCK5gV2vOrM= github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= -github.com/tikv/client-go/v2 v2.0.8-0.20240429091414-f8bf3dd49563 h1:G5t14jsTICvmO39LXOqEtos6den4oavqQrmUjetN2tQ= -github.com/tikv/client-go/v2 v2.0.8-0.20240429091414-f8bf3dd49563/go.mod h1:+vXk4Aex17GnI8gfSMPxrL0SQLbBYgP3Db4FvHiImwM= +github.com/tikv/client-go/v2 v2.0.8-0.20240430145300-f841120d6d81 h1:IFnj+nphCdgFF/iDGPc60DBMGaEU9M1nIwcvLHibXtg= +github.com/tikv/client-go/v2 v2.0.8-0.20240430145300-f841120d6d81/go.mod h1:+vXk4Aex17GnI8gfSMPxrL0SQLbBYgP3Db4FvHiImwM= github.com/tikv/pd/client v0.0.0-20240322051414-fb9e2d561b6e h1:u2OoEvmh3qyjIiAKXUPRiFCOSwznByMINDx2fsorjAo= github.com/tikv/pd/client v0.0.0-20240322051414-fb9e2d561b6e/go.mod h1:Z/QAgOt29zvwBTd0H6pdx45VO6KRNc/O/DzGkVmSyZg= github.com/timakin/bodyclose v0.0.0-20240125160201-f835fa56326a h1:A6uKudFIfAEpoPdaal3aSqGxBzLyU8TqyXImLwo6dIo= diff --git a/tests/integrationtest/r/ddl/default_as_expression.result b/tests/integrationtest/r/ddl/default_as_expression.result index 5325fd09ccc95..de0b3def8e29a 100644 --- a/tests/integrationtest/r/ddl/default_as_expression.result +++ b/tests/integrationtest/r/ddl/default_as_expression.result @@ -62,7 +62,7 @@ t2 CREATE TABLE `t2` ( `c1` varchar(256) DEFAULT (date_format(now(), _utf8mb4'%Y-%m-%d %H.%i.%s')) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin alter table t0 add column c2 date default (date_format(now(),'%Y-%m')); -Error 1292 (22007): Incorrect datetime value: '2024-04' +Error 1292 (22007): Incorrect datetime value: '2024-05' alter table t0 add index idx(c1); alter table t1 add index idx(c1); alter table t0 add column c2 date default (date_format(now(),'%Y-%m-%d'));