Module: Activerecord::Mysql::Reconnect::ExecuteWithReconnect
- Defined in:
- lib/activerecord/mysql/reconnect/abstract_mysql_adapter_ext.rb
Instance Method Summary collapse
Instance Method Details
#execute(sql, name = nil) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/activerecord/mysql/reconnect/abstract_mysql_adapter_ext.rb', line 2 def execute(sql, name = nil) retryable(sql, name) do |sql_names| retval = nil sql_names.each do |s, n| retval = super(s, n) end retval end end |