mariadb/storage/spider/mysql-test
Yuchen Pei 998e765060
MDEV-32907 Spider: do not create gbh if encountering Item_aggregate_ref
When spider encounters Item_aggregate_ref that is valid at gbh
creation, it could become invalid at gbh execution due to item list
substitution*. Therefore we ban Item_aggregate_ref for spider gbh
creation. To that end, we also make sure that str is NULL if and only
if in the creation stage, not the execution stage, including removing
a redundant check when str is not NULL.

*: Note that it is likely the same scenario as in MDEV-25116.
2025-07-14 11:24:20 +10:00
..
spider MDEV-32907 Spider: do not create gbh if encountering Item_aggregate_ref 2025-07-14 11:24:20 +10:00