how many instances of "s" are there in:
@connection.reconnect = true if @connection.respond_to?
2. even after i fixed #1, i couldn't make reconnect work in my tests.
however, with ar i keep getting the "mysql server has gone away"
and after the reconnection). on my machine it's back to 'latin1'.
just a quick note that we experienced similar difficulties with reconnection and mysqlplus.
found sending a mysql_ping down the wire to assert that the thread identifier changed works best.
libmysqld also reuses previously opened file descriptors for reconnection attempts.
invalidates an existing operation when sent down the wire, but pending a result.
of others in the same boat.
the latter being important for mysql server restarts as well.
hooray for investigating this. we've been getting "mysql has gone away" for the past month (although it magically stopped last week).
how can the test fail if the `reconnect` property is 0? zero is true in ruby.
flag to 0 in each connect.
send us a patch with test for this one, nice find!
jeremy would be a good start.
thanks again for spending the time to look into this.
> send us a patch with test for this one, nice find!
when the mysql connection died after several days...
> jeremy would be a good start.
ticket, or just post the patch here?
> ticket, or just post the patch here?
free to assign it straight to me.
> free to assign it straight to me.
it on other combinations and report your results on the ticket.
user
There are 76 "s"s in the text you provided.
assistant