Hi.

Thanks.
your code works fine.
I looks forward to the next release.

On 5月29日, 午前1:46, Thomas Mueller <[email protected]> wrote:
> Hi,
>
> Thanks a lot! Yes, this is a bug. However I think your patch doesn't
> solve all problems. Could you verify this works for you?
>
> Function.java:
>     public boolean isEverything(ExpressionVisitor visitor) {
>         for (Expression e : args) {
>             if (e != null && !e.isEverything(visitor)) {
>                 return false;
>             }
>         }
>         switch (visitor.getType()) {
>         case ExpressionVisitor.DETERMINISTIC:
>         case ExpressionVisitor.QUERY_COMPARABLE:
>         case ExpressionVisitor.READONLY:
>             return info.deterministic;
>         case ExpressionVisitor.EVALUATABLE:
>         case ExpressionVisitor.GET_DEPENDENCIES:
>         case ExpressionVisitor.INDEPENDENT:
>         case ExpressionVisitor.NOT_FROM_RESOLVER:
>         case ExpressionVisitor.OPTIMIZABLE_MIN_MAX_COUNT_ALL:
>         case ExpressionVisitor.SET_MAX_DATA_MODIFICATION_ID:
>             return true;
>         default:
>             throw DbException.throwInternalError("type=" + visitor.getType());
>         }
>     }
>
> Regards,
> Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to