From: Logan Capaldo Date: 2006-08-16T14:20:08+09:00 Subject: Re: strange problem with ruby-dbi and arrays On Aug 16, 2006, at 1:12 AM, snacktime wrote: > Hmm, if I change: > tlist << row > > to > tlist.concat(row) > > Then it works. Why is that? > Guessing but perhaps fetch reuses the same object to store the query result. What if you do while row = sth.fetch.dup do ... end