The binary literal default value is not handled correctly #57301
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
affects-8.1
affects-8.5
component/expression
severity/major
sig/execution
SIG execution
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
It's because
b'1100010001001110011000100100111'
is converted to"b'1'"
, and then casted to1
.2. What did you expect to see? (Required)
The test passed
3. What did you see instead (Required)
The test failed
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: