On Tue, Oct 19, 2004 at 01:15:56PM +0900, David G. Andersen scribed:
> 
>     while (line = get_next_line)
>  **   something = res.fetch_row
>       .. do some work
>     end
>   end

btw, someone asked about any error message from this.  Nothing
gets caught by a begin/rescue/end around the fetch_row operation,
but checking the mysql error explicitly indicates 

  2013: Lost connection to MySQL server during query

... which sounds a lot like the file descriptor getting
closed out from underneath it.  The question still
remains, though - my bug, or ruby's? :)

Still mystified,

  -Dave

-- 
work: dga / lcs.mit.edu                          me:  dga / pobox.com
      MIT Laboratory for Computer Science           http://www.angio.net/