Bug#399858: libghc6-hdbc-dev: fromSql should not be called when comparing SqlNull to other constructors

2006-12-18 Thread John Goerzen
Thanks, Marco. I have applied your patch to my tree and it will be a part of the next HDBC release. -- John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#399858: libghc6-hdbc-dev: fromSql should not be called when comparing SqlNull to other constructors

2006-12-09 Thread John Goerzen
On Thu, Mar 08, 2007 at 10:03:32AM +0100, Marco Tulio Gontijo e Silva wrote: > Em Qui, 2006-12-07 às 20:56 -0600, John Goerzen escreveu: > I pointed out two solutions, and this one I told that it was worse > because of this problem. I submitted a third solution latter, which was > a problem in the

Bug#399858: libghc6-hdbc-dev: fromSql should not be called when comparing SqlNull to other constructors

2006-12-08 Thread Marco Tulio Gontijo e Silva
Em Qui, 2006-12-07 às 20:56 -0600, John Goerzen escreveu: > 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 c

Bug#399858: libghc6-hdbc-dev: fromSql should not be called when comparing SqlNull to other constructors

2006-12-07 Thread John Goerzen
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

Bug#399858: libghc6-hdbc-dev: fromSql should not be called when comparing SqlNull to other constructors

2006-12-07 Thread Marco Tulio Gontijo e Silva
Em Seg, 2006-12-04 às 19:24 -0600, John Goerzen escreveu: > On Wed, Nov 22, 2006 at 09:48:40AM -0200, Marco T?lio Gontijo e Silva wrote: > > Package: libghc6-hdbc-dev > > Version: 1.0.1.1 > > Severity: important > > Tags: patch > > > > It's not possible to compare SqlNull to any other constructor

Bug#399858: libghc6-hdbc-dev: fromSql should not be called when comparing SqlNull to other constructors

2006-12-04 Thread John Goerzen
On Wed, Nov 22, 2006 at 09:48:40AM -0200, Marco T?lio Gontijo e Silva wrote: > Package: libghc6-hdbc-dev > Version: 1.0.1.1 > Severity: important > Tags: patch > > It's not possible to compare SqlNull to any other constructor of SqlType. > > Prelude Database.HDBC> SqlString "Marco" == SqlNull > *

Bug#399858: libghc6-hdbc-dev: fromSql should not be called when comparing SqlNull to other constructors

2006-11-22 Thread Marco Túlio Gontijo e Silva
Package: libghc6-hdbc-dev Version: 1.0.1.1 Severity: important Tags: patch It's not possible to compare SqlNull to any other constructor of SqlType. Prelude Database.HDBC> SqlString "Marco" == SqlNull *** Exception: fromSql: cannot convert SqlNull to String This is specially bad when I want to f