Unexpected Result by NOT LIKE and BINARY
Open
fuzz/sqlancer
impact/wrong-result
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
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
### 1. Minimal reproduce step (Required)
```sql
CREATE TABLE t0(c0 BIGINT);
INSERT INTO t0(c0) VALUES (1);
SELECT t0.c0 NOT LIKE(BINARY t0.c0) from t0; -- {1}
```
### 2. What did you expect to see? (Required)
For this query, MySQL evaluates it as False.
### 3. What did you see instead (Required)
### 4. What is your TiDB version? (Required)
```bash
+--------------------------------------------+
| version() |
+--------------------------------------------+
| 8.0.11-TiDB-v9.0.0-beta.1.pre-563-gea52376 |
+--------------------------------------------+
```
Contributor guide
Assessment
This issue has not been assessed yet.