round
function on exact number produces different result from MySQL
#53891
Labels
compatibility-mysql8
This is a compatibility issue with MySQL 8.0(but NOT 5.7)
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
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)
In MySQL:
3. What did you see instead (Required)
But TiDB output
-717754012
. And TiDB produces correct result-717754013
sometimes.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: