def _fetchall(cursor, statement):
    """
    Fetches the results of a given SQL statement.

    :type MySQLdb.cursors.SSDictCursor
    :param cursor: A mysql cursor
    :type str
    :param statement: A SQL statement
    :rtype tuple
    :return The results of the MySQLdb statement
    """

    cursor.execute(statement)

    return cursor.fetchall()