def _handle_noresultset(self, res):
        """Handles result of execute() when there is no result set
        """
        try:
            self._rowcount = res['affected_rows']
            self._last_insert_id = res['insert_id']
            self._warning_count = res['warning_count']
        except (KeyError, __HOLE__), err:
            raise errors.ProgrammingError(
                "Failed handling non-resultset; %s" % err)
        
        if self._connection.get_warnings is True and self._warning_count:
                self._warnings = self._fetch_warnings()
dataset/ETHPy150Open appnexus/schema-tool/schematool/mysql/connector/cursor.py/MySQLCursor._handle_noresultset