Closed GoogleCodeExporter closed 9 years ago
The 'else' part is missing, which actually means 'else null'.
Usually, for 'case ... then x else y end', the data type is the higher
data type of x and y. (the order of types is defined in Value.getOrder).
The problem is that the data type of the expression 'case ... then ? else null
end'
is 'null'. The next version of H2 will not allow this and throw an exception
instead.
Original comment by thomas.t...@gmail.com
on 20 Aug 2011 at 10:38
I see. Thanks for addressing this
Original comment by lukas.eder@gmail.com
on 22 Aug 2011 at 8:08
I will keep the current behavior for now. Patches are always welcome of course.
Original comment by thomas.t...@gmail.com
on 22 Sep 2011 at 4:31
Original issue reported on code.google.com by
lukas.eder@gmail.com
on 13 Jul 2011 at 5:09