Incorrect Results by REGEXP
#38303
Labels
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
affects-6.2
affects-6.3
may-affects-4.0
This bug maybe affects 4.0.x versions.
severity/major
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Inconsistent results by
REGEXP
.1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
The first
SELECT
returns non-empty results and the predicate(v0.c0)REGEXP(v0.c0 AND t0.c0)
is evaluatedTRUE
in the secondSELECT
, but the thirdSELECT
returns nothing.3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: