Hi,

I'm seeing this issue with a .paged_each block that used to work. Right now 
I'm using sequel 4.12.0, mysql2 0.3.16.

Tracked the error to mysql2 code related to streaming being enabled. The 
exception reads:

    Sequel::DatabaseError: Mysql2::Error: You have already fetched all the 
rows for this query and streaming is true. (to reiterate you must requery).

This is the code fragment:

    def import(*args)
      paged_each do |record|
        begin
          record.import(*args)
        rescue => e
          $stderr.puts "#{name}(#{record.pk.inspect}): #{e}"
        end
      end
    end

This code used to work with sequel 4.2.0, mysql2 0.3.13.

Just wondering if this is a known issue or should try to further isolate 
the problem.

Thanks in advance.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to