db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mamta Satoor <msat...@gmail.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 Wed, 28 Sep 2005 05:22:55 GMT
Hi Dan,
 I will look to see if the type of the unary minus/plus dynamic parameter
can be determined by the context in which it is getting used.
 thanks,
Mamta

 On 9/26/05, Daniel John Debrunner <djd@debrunners.com> wrote:
>
> 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?
>
> Dan.
>
>

Mime
View raw message