diff --git a/tests/various_types/data/vt.binary.sql b/tests/various_types/data/vt.binary.sql index 9f231c578..508653aad 100644 --- a/tests/various_types/data/vt.binary.sql +++ b/tests/various_types/data/vt.binary.sql @@ -48,4 +48,5 @@ INSERT INTO `binary` VALUES (46, x'747B4c36678948a8921763afbee2dd15'), (47, x'a5e015d13d76447eaf8fb834007481e9'), (48, x'b75264a7e7074df187a2b9052ad4e36d'), -(49, x'45cD65089a064ab781406a84a109faef'); +(49, x'45cD65089a064ab781406a84a109faef'), +(50, x''); diff --git a/tests/various_types/run.sh b/tests/various_types/run.sh index 41a486ad2..5873a7874 100755 --- a/tests/various_types/run.sh +++ b/tests/various_types/run.sh @@ -68,8 +68,8 @@ for BACKEND in importer tidb local; do check_contains 'ref: 41' run_sql 'SELECT count(pk), hex(min(pk)), hex(max(pk)) FROM vt.binary' - check_contains 'count(pk): 50' - check_contains 'hex(min(pk)): 090ABBB2F22E4F97A4FEA52EB1A80A0B' + check_contains 'count(pk): 51' + check_contains 'hex(min(pk)): ' check_contains 'hex(max(pk)): FDE1328C409C43A8B1B08C35C8000F92' run_sql "SELECT ref FROM vt.binary WHERE pk = x'55dc0343db6a420898729096305b8c07'" check_contains 'ref: 41'