Skip to content

Commit

Permalink
scripts: update sync-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Sep 22, 2023
1 parent 614a920 commit b4bffbb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion scripts/download-integration-test-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
10 changes: 1 addition & 9 deletions tests/integration_tests/new_ci_collation/data/test1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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;
1 change: 0 additions & 1 deletion tests/integration_tests/new_ci_collation/data/test2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ delete from tt1;
delete from tt2;
delete from tt3;
delete from tt4;
delete from tt5;

0 comments on commit b4bffbb

Please sign in to comment.