Class: Mysql

Inherits:
Object
  • Object
show all
Defined in:
lib/async_observer/worker.rb

Defined Under Namespace

Classes: Net

Instance Method Summary collapse

Instance Method Details

#set_close_on_execObject



246
247
248
249
250
251
252
253
# File 'lib/async_observer/worker.rb', line 246

def set_close_on_exec()
  if @net
    @net.set_close_on_exec()
  else
    # we are in the c mysql binding
    RAILS_DEFAULT_LOGGER.info "Warning: we are using the C mysql binding, can't set close-on-exec"
  end
end