[1870] in Moira

home help back first fref pref prev next nref lref last post

Re: blank winshell field

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Mon Oct 1 16:26:35 2001

Message-Id: <200110012026.QAA18559@riff-raff.mit.edu>
To: "Paul B. Hill" <pbh@MIT.EDU>
cc: bug-moira@MIT.EDU
In-Reply-To: Your message of "Mon, 01 Oct 2001 14:05:14 EDT."
             <JDEEIOCIIGMKDNGJMBLJEEIKCIAA.pbh@mit.edu> 
Date: Mon, 01 Oct 2001 16:26:31 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>

>> Why is the windows shell entry a mandatory non-null field? Our intent
>> was that null be allowed, in this case the default shell would be used.

   Because we don't let NULL entries anywhere in the database (we
actually have about 3 different definitions of "null", depending on what
language you're using). The "problem" here is actually that Jeff is
using an old moira client that still speaks a version of the queries
from before we added the winconsoleshell column.

   The fix for this is to just modify the column to make the default
inserted be 'cmd' instead of chr(0).   I'll do this soon since it
doesn't seem like a pressing problem now.

Garry


home help back first fref pref prev next nref lref last post