[24.1] Fix named cursor is not valid anymore
#18825
Merged
Loading
named cursor is not valid anymore
#18825