class ActiveRecord::ConnectionAdapters::ConnectionPool::Lease

:nodoc:

def clear(connection)

def clear(connection)
  if @connection == connection
    @connection = nil
    @sticky = nil
    true
  else
    false
  end
end

def initialize

def initialize
  @connection = nil
  @sticky = nil
end

def release

def release
  conn = @connection
  @connection = nil
  @sticky = nil
  conn
end