different behavior from mysql planner with a condition caused error. #21625
Labels
severity/minor
sig/execution
SIG execution
sig/sql-infra
SIG: SQL Infra
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)
CREATE TABLE ttt (
a int(10) unsigned,
b int(10) unsigned
);
insert into ttt values(1,10),(20,2);
select * from ttt where a-b>0 and a = 1 and b = 9;
2. What did you expect to see? (Required)
In MySQL 8.0
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
6cd3c65
The text was updated successfully, but these errors were encountered: