db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mamta Satoor <msat...@gmail.com>
Subject [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 18:05:25 GMT
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.
 svn stat
M
java\engine\org\apache\derby\impl\sql\compile\UnaryArithmeticOperatorNode.java
A
java\testing\org\apache\derbyTesting\functionTests\tests\lang\unaryArithmeticDynamicParameter.java
A
java\testing\org\apache\derbyTesting\functionTests\master\unaryArithmeticDynamicParameter.out
 thanks,
Mamta

Mime
View raw message