On Wed, Mar 07, 2007 at 07:26:25PM +0100, Marco Tulio Gontijo e Silva wrote:
> Hello John!
> 
> I haven't noticed that instance SqlType (Maybe a), it's a workaround,
> but I still prefer the solution with my patch. In what do you consider
> that it could be harmful? The problem for me is just that filter (==

The problem is that you convert a SQL NULL value to a string
"SqlNull".

That string is indistinguishable from a field that contains the
literal string "SqlNull".  That, in fact, is why the SQL NULL value is
not a string.  It is specifically designed to be not representable as
a string, and trying to represent it as a string is an error.

> don't know about instance SqlType (Maybe a). Maybe more documentation
> about it would be sufficient.

I could indeed highlight this.

-- John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to