Closed knoopx closed 13 years ago
It seems that the C library part of mysql2 is returning nil for whatever request is being sent to it. From reading the code I see that in certain circumstances this could happen, but I don't think you should be triggering it, and I can't see what from slim scrooge would trigger it unless the SQL query was invalid in some way.
I am still trying to reproduce this (no luck yet) but in the mean time, are you able to see the sql query that is last made before the crash from your log file?
Closed due to inactivity, can't reproduce
This is using rails-3.0.0 and ruby-1.9.2-p0. The exception is thrown randomly so I guess it happens at the 2nd or 3rd request.