Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4(EOL), 10.5, 10.6, 10.10(EOL), 10.11, 11.1(EOL), 11.2(EOL)
Description
The following test case from win.test fails if the server is built with -DWITH_PROTECT_STATEMENT_MEMROOT:BOOL=ON
prepare stmt from |
"select row_number() over (partition by 4 order by 1+2)"; |
execute stmt; |
execute stmt; |
deallocate prepare stmt; |
The test case fails with the assertion abort that points to the allocation of list elements for each unnamed window spec at each execution of PS. The allocation is done on the statement memory in the function setup_windows().