Details
-
Bug
-
Resolution: Resolved
-
Critical
-
7.1.0
-
Untriaged
-
1
-
Unknown
Description
Testcase:
create function l(...)
{ (select length(args[0]))[0] }select a.type, l(a.type) from `travel-sample` a
the second statement returns 7 for all rows.
This is due to the subquery code mistakenly caching the result.