|
From: Michael N. <uu...@rz...> - 2003-01-14 12:42:41
|
Paul DuBois wrote: > In dbi.rb, select_one is defined like this: > > > def select_one(stmt, *bindvars) > raise InterfaceError, "Database connection was already closed!" > if @handle.nil? > row = nil > execute(stmt, *bindvars) do |sth| > row = sth.fetch > end > row > end Method execute calls cancel (and finish) of sth. Regards, Michael |