comparing with round()
in WHERE predicate may produce unexpected result
#57586
Labels
impact/wrong-result
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
may-affects-8.5
severity/major
sig/execution
SIG execution
type/bug
The issue is confirmed as a bug.
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
when the third column is
0
, it should not appear:in TiDB with unistore:
3. What did you see instead (Required)
in TiDB with TiKV
4. What is your TiDB version? (Required)
topology:
distributed.yaml:
about us
We are the BASS team from the School of Cyber Science and Technology at Beihang University. Our main focus is on system software security, operating systems, and program analysis research, as well as the development of automated program testing frameworks for detecting software defects. Using our self-developed database vulnerability testing tool, we have identified the above-mentioned vulnerabilities in TiDB that may lead to database logic error.
The text was updated successfully, but these errors were encountered: