From: Brian C. <B.C...@po...> - 2003-07-02 13:34:56
|
On Wed, Jul 02, 2003 at 02:23:07PM +0200, Michael Neumann wrote: > >- db.select_one doesn't seem to call finish() to free up the cursor. I think > > the attached one-line patch should fix that. > > > It does call #finish, as it uses the block form of #execute. Ah, my mistake. Sorry for the noise. > BTW, this all is written down in Ruby Developers Guide. I've heard on > ruby-talk, that's currently very cheap if you live in US. I'm in the UK. Cheers, Brian. |