lib/never_block/db/fibered_mysql_connection.rb
# Creates a new mysql connection, sets it
# to nonblocking and wraps the descriptor in an IO
# object.
Creates a new mysql connection, sets it
to nonblocking and wraps the descriptor in an IO
object.
Creates a new mysql connection sets it to nonblocking and wraps the descriptor in an IO object .
def real_connect(*args)
        super(*args)
        @fd = socket
        @io = IO.new(socket)
      end
def real_connect ( * args ) super ( * args ) @fd = socket @io = IO . new ( socket ) end
Creates a new mysql connection, sets it
to nonblocking and wraps the descriptor in an IO
object.
Creates a new mysql connection sets it to nonblocking and wraps the descriptor in an IO object .
args
<not_specific>