db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: [PATCH] (DERBY-582) Dynamic parameter should be allowed to be the operand of unary operator "-". Derby throws exception 42X36: The '-' operator is not allowed to take a ? parameter as an operand."
Date Mon, 26 Sep 2005 19:49:31 GMT
Mamta Satoor wrote:
> Hi,
> I have a simple patch to allow dynamic parameters for unary minus and
> plus. The parameter will be bound to DOUBLE. The patch is attached to
> JIRA. Can a commiter please commit it if everything looks good? I have
> run all the tests and no new failures. Have also added a test for this.

What do you mean the parameter is bound to DOUBLE?

In the example of in DERBY-582

select * from t1 where c11 = -?

shouldn't the parameter be the same type as c11?


View raw message