Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Comments table, why insert empty comment?

On Tue, Oct 01, 2002 at 04:05:35PM +0000, Mark C. Chu-Carroll wrote:
> 
> Why are we seeding the comments table with a row with an empty string?
> 
> On the other hand: I think it's reasonable to expect the system to
> work properly when users choose not to supply comments. So we need
> to do something to make the system work correctly when an empty comment
> is supplied. So far, it looks like Oracle is the only database that
> we're looking at that has a problem with this, but we still need
> a workaround to make it work there.
> 
> Dare I suggest that when the user supplies an empty comment, we 
> automatically substitute "no comment"?
> 
> 	-Mark
> 
> 
> -- 
> Mark Craig Chu-Carroll,  IBM T.J. Watson Research Center  
> *** The Stellation project: Advanced SCM for Collaboration
> ***		http://www.eclipse.org/stellation
> *** Work Email: mcc@xxxxxxxxxxxxxx  ------- Personal Email: markcc@xxxxxxxxxxx
> 

If we can't use "" then just use " ". Using "no comment" assumes English is OK everywhere.
By the way, if Oracle really chokes on "", I'm *MUCH* more concerned about empty source lines
than empty comments ...

dave



-- 
Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx. 


Back to the top