Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.6.5, 7.0.3
-
Untriaged
-
1
-
Yes
Description
select * from `travel-sample` where (type=$type or $type is null)
|
yields
[
|
{
|
"code": 4321,
|
"msg": "Plan error: buildOrScanNoPushdown: missing OR subterm",
|
"query": "select * from `travel-sample` where (type=$type or $type is null)"
|
}
|
]
|
$type doesn't even have to be set
Attachments
Issue Links
- is a backport of
-
MB-51561 Error 4321 generated when OR clause has a ($parameter is null) arm
-
- Closed
-