lpad/rpad
return wrong result if it need return null for not null input
#9465
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
affects-6.3
affects-6.4
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-6.6
affects-7.0
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.2
affects-7.3
affects-7.4
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.0
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.2
affects-8.3
affects-8.4
affects-8.5
This bug affects the 8.5.x(LTS) versions.
component/compute
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
In
tiflash/dbms/src/Functions/FunctionsString.cpp
Lines 3588 to 3591 in 78bd3f0
And
tiflash/dbms/src/Functions/FunctionsString.cpp
Lines 3662 to 3665 in 78bd3f0
It returns
true
(which means the result isnull
) without adding the tailing\0
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
The text was updated successfully, but these errors were encountered: