def execute_sql(self, result_type):
        cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
        rows = cursor and cursor.rowcount or 0
        is_empty = cursor is None
        del cursor
        for query in self.query.get_related_updates():
            aux_rows = query.get_compiler(self.using).execute_sql(result_type)
            if is_empty:
                rows = aux_rows
                is_empty = False
        return rows
Used by the :command:`salt` CLI. This method returns minion returns as
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/db/models/sql/compiler.py/SQLUpdateCompiler.execute_sql--crossover with--dataset/ETHPy150Open saltstack/salt/salt/client/__init__.py/LocalClient.cmd_cli