Page 1 of 1

max(r,x) treated as RATIONAL when x is CHAR

Posted: Tue May 27, 2008 1:36 pm
by HughDarwen
I tried comparing MAX(r,x), where x is of type CHAR, with a character string literal. I got a syntax error saying that I was trying to compare a RATIONAL with a CHAR.

Easy test case:

Max(relation{tuple{x 'abc'}},x)
works okay.

Max(relation{tuple{x 'abc'}},x) = 'abc'
gives the error.

Hugh

Re: max(r,x) treated as RATIONAL when x is CHAR

Posted: Wed Jun 11, 2008 2:59 am
by Dave
I have fixed this for version 0.3.5, which will be released in a few days.