From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23339 invoked from network); 1 Apr 2004 13:24:17 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 1 Apr 2004 13:24:17 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B91ui-0002AP-1l for listarch-gnats-devel@sources.redhat.com; Thu, 01 Apr 2004 08:07:20 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B91u8-00029i-QD for help-gnats@gnu.org; Thu, 01 Apr 2004 08:06:44 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B91tZ-00021M-Ii for help-gnats@gnu.org; Thu, 01 Apr 2004 08:06:43 -0500 Received: from [63.70.210.38] (helo=mms3.broadcom.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B91tY-00021G-Vg for help-gnats@gnu.org; Thu, 01 Apr 2004 08:06:09 -0500 Received: from 63.70.210.1 by mms3.broadcom.com with ESMTP (Broadcom SMTP Relay (MMS v5.6.0)); Thu, 01 Apr 2004 05:06:07 -0800 X-Server-Uuid: 8D569F9F-42CF-4602-970D-AACC4BD5D310 Received: from mail-cbga-1.eu.broadcom.com (mail-cbga-1.eu.broadcom.com [10.177.128.40]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id FAA07163; Thu, 1 Apr 2004 05:05:23 -0800 (PST) Received: from broadcom.com (dhcpe-cbga-136 [10.177.64.136]) by mail-cbga-1.eu.broadcom.com (8.12.9/8.8.8/MS01) with ESMTP id i31D5riG028895; Thu, 1 Apr 2004 14:05:54 +0100 (BST) Message-ID: <406C13B1.1020904@broadcom.com> Date: Thu, 01 Apr 2004 13:24:00 -0000 From: "Adrian Ashley" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Mel Hatzis" References: <20040329121031.491a0f4e.adrian.ashley@broadcom.com> <4068B3FD.4090307@juniper.net> In-Reply-To: <4068B3FD.4090307@juniper.net> X-WSS-ID: 6C72CC352IW2644857-01-01 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: help-gnats@gnu.org Subject: Re: Expected behaviour for absent fields X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q2/txt/msg00002.txt.bz2 Mel Hatzis wrote: > It's inclusion in the 'index' fields is also relevant here. > Based on your observed behaviour, I assume that it's also > not defined as an "index" field. That's true. > [ The reason this is relevant is that all fields defined in > the "index" are assigned an empty value in the index, when > a PR is added to the index. Subsequent GNATS queries will > use the index to determine the field value, and therefore > a NULL value wouldn't be returned. ] Is this a Feature? Perhaps the fact that a field is defined in the index ought to have a side-effect of setting its value to "" if there is no default? > Given the relatively small size of the fix-rel values, I > suggest you might want to try adding the field to the "index" > as a work-around. This should address the query problem you have > and won't otherwise be much of an impact on your existing > configuration. I did this, and it works. Thanks. Adrian Ashley Broadcom Corp. _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats