From b4bffbb2570894f188e63c7b7403f96fe915e8f1 Mon Sep 17 00:00:00 2001 From: Lynn Date: Fri, 22 Sep 2023 12:59:22 +0800 Subject: [PATCH] scripts: update sync-diff --- scripts/download-integration-test-binaries.sh | 2 +- .../integration_tests/new_ci_collation/data/test1.sql | 10 +--------- .../integration_tests/new_ci_collation/data/test2.sql | 1 - 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/scripts/download-integration-test-binaries.sh b/scripts/download-integration-test-binaries.sh index 66501d7e4a0..e383e1fb6e3 100755 --- a/scripts/download-integration-test-binaries.sh +++ b/scripts/download-integration-test-binaries.sh @@ -130,7 +130,7 @@ function download_binaries() { minio_download_url="${file_server_url}/download/minio.tar.gz" go_ycsb_download_url="${file_server_url}/download/builds/pingcap/go-ycsb/test-br/go-ycsb" etcd_download_url="${file_server_url}/download/builds/pingcap/cdc/etcd-v3.4.7-linux-amd64.tar.gz" - sync_diff_inspector_url="${file_server_url}/download/builds/pingcap/cdc/sync_diff_inspector_hash-00998a9a_linux-amd64.tar.gz" + sync_diff_inspector_url="${file_server_url}/download/builds/pingcap/cdc/sync_diff_inspector_hash-d671b084_linux-amd64.tar.gz" jq_download_url="${file_server_url}/download/builds/pingcap/test/jq-1.6/jq-linux64" schema_registry_url="${file_server_url}/download/builds/pingcap/cdc/schema-registry.tar.gz" diff --git a/tests/integration_tests/new_ci_collation/data/test1.sql b/tests/integration_tests/new_ci_collation/data/test1.sql index cb73bb5cf1d..c3218a3c9d0 100644 --- a/tests/integration_tests/new_ci_collation/data/test1.sql +++ b/tests/integration_tests/new_ci_collation/data/test1.sql @@ -67,16 +67,11 @@ CREATE TABLE tt3 ( CREATE TABLE tt4 ( a int primary key, b varchar(10) charset utf8mb4 collate utf8mb4_0900_ai_ci, - c varchar(10) charset utf8mb4 collate utf8mb4_0900_bin, + c varchar(10) charset utf8mb4 collate utf8mb4_0900_ai_ci, d varchar(10) not null, unique key d(d) ); -CREATE TABLE tt5 ( - a varchar(10) charset utf8mb4 collate utf8mb4_0900_bin, primary key(a), - b int default 10 -); - insert into tt1 (a) values ('A'),(' A'),('A\t'),('b'),('bA'),('bac'),('ab'),('\U000FFFFE'),('Àoo'),('ß'),('æ'),('aeoo'), ('𝕒bc'); insert into tt1 (a) values ('😉'); insert into tt2 (a) values ('A'),(' A'),('A\t'),('b'),('bA'),('bac'),('ab'),('\U000FFFFE'),('À'),('ß'),('æ'),('ae'), ('𝕒bc'); @@ -89,7 +84,4 @@ insert into tt4 values (1,'A','A','1'),(2,'a\t','a\t','2'),(3,'ab','ab','3'),(4, update tt1 set b = b + 1; update tt3 set b = 11 where a > 'A'; update tt3 set b = '14' where a > 'À'; -insert into tt5 (a) values ('😉'); -insert into tt5 (a) values ('a'),('A'),(' a'),(' A'),('a\t'),('ab'),('Ab'); drop index `primary` on tt4; -update tt5 set b = 12; diff --git a/tests/integration_tests/new_ci_collation/data/test2.sql b/tests/integration_tests/new_ci_collation/data/test2.sql index 1e790c78718..408e6744f8a 100644 --- a/tests/integration_tests/new_ci_collation/data/test2.sql +++ b/tests/integration_tests/new_ci_collation/data/test2.sql @@ -8,4 +8,3 @@ delete from tt1; delete from tt2; delete from tt3; delete from tt4; -delete from tt5;