Kathey Marsden wrote:
Philip Wilder wrote:
Thanks Philip. I will look at getting this checked into the trunk. When
you say port this, do you mean port DERBY-213?
Yes, although now that you mention it such a port does have the
potential to be tricky. Since this is a patch of a patch should svn
merge also be done in two stages or should I just refrain entirely?
Two svn merges is not what worries me about porting DERBY-213. I am a
little concerned about the port because of the risk level of the
change. There was a thread earlier today that said.
what I do know is that when you RE-EXECUTE a statement
you get a new ResultSet, but you don't automatically close the previous
ResultSet. So if you create multiple ResultSets from the same
statement before you close it, ResultSets will be leaked, at least
temporarily.
There is no bug filed yet, but if that is true, no longer closing the ResultSet
for forward only cursors could exacerbate the leak and cause existing
applications that don't leak to start leaking. I think it might be better to
wait a bit before porting to 10.1.
Kathey
Understood.
Philip