def query(sql)
      if alter_statement?(sql)
        command_line = cli_generator.parse_statement(sql)
        execute(command_line)
      else
        mysql_adapter.execute(sql)
      end
    end
def query(sql)
      if alter_statement?(sql)
        command_line = cli_generator.parse_statement(sql)
        execute(command_line)
      else
        mysql_adapter.execute(sql)
      end
    end
Constructor

 @param logger [#say, #write]
 @param cli_generator [CliGenerator]
 @param mysql_adapter [ActiveRecord::ConnectionAdapter] it must implement
   #execute and #raw_connection
 Executes the passed sql statement using pt-online-schema-change for ALTER
 TABLE statements, or the specified mysql adapter otherwise.

 @param sql [String]