ClickHouse/tests
Kevin Michel f05aaa4651
Add test case for base64Encode returning corrupted data
Sometimes, base64Encode returns data that belongs to the next string
in the buffer. This test, when failing, shows something like that:

    -SELECT * FROM tabl_1 SETTINGS log_comment = ?;
    -SELECT * FROM tabl_2 SETTINGS log_comment = ?;
    +SELECT * FROM tabl_1 SETTINGS log_comment = ?;\0S
    +SELECT * FROM tabl_2 SETTINGS log_comment = ?;\0c

 Where the S at the end of the first string is the first S of the next
 string in the buffer.

 I don't know exactly why, but reading from query_log is how I manage
 to reliably trigger the bug. The same code on literals, or even on
 a different table, did not trigger the bug, something related to
 alignment maybe.
2021-11-25 15:24:10 +01:00
..
ci tests/ci: fix wrong-import-order pylint warning 2021-10-27 10:14:39 +03:00
config Merge pull request #30372 from ClickHouse/update_keeper_config 2021-10-25 10:37:03 +03:00
fuzz Done 2021-10-19 12:11:18 +00:00
instructions
integration Merge pull request #29202 from aiven/kmichel-replicated-database-alter-attach 2021-10-27 16:42:54 +03:00
jepsen.clickhouse-keeper
perf_drafts
performance HashedDictionaries added read performance tests 2021-10-25 20:12:29 +03:00
queries Add test case for base64Encode returning corrupted data 2021-11-25 15:24:10 +01:00
testflows
.gitignore
clickhouse-test clickhouse-test: increase delay for initial SELECT 1 check 2021-10-24 19:04:36 +03:00
CMakeLists.txt Various fixes to install procedure 2021-10-16 20:03:45 +03:00
msan_suppressions.txt
stress
tsan_suppressions.txt
ubsan_suppressions.txt