sequel-3.2.0/lib/sequel/adapters/mysql.rb line 151: 148: yield r if r 149: if conn.respond_to?(:next_result) && conn.next_result 150: loop do =>151: r.free 152: r = nil 153: begin
Sometimes fails with message "undefined method `free' for nil:NilClass (NoMethodError)" It's checking r's value at 148, so there is the possibility that r is nil. But that conditional does not extend to line 151, so if r is nil, the method call to free will fail. Please fix. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
