dynamobi/dynamobi — Issue #350: [FRG-430] Allow casting dynamic params in inner-operators like case, add a test
Author: dynamobi-build
Created: 2011-12-30 03:09:26+00:00
State: open
Labels: FRG

[reporter="ksecretan", created="Thu, 14 Jul 2011 10:51:31 -0500 (GMT-05:00)"]
Basically the top issue described here: http://luciddb.org/forums/discussion/498/jdbc-parameterization-issues-/p1

Something like cast(cast(? as varchar(20)) as varchar(21)) would fail.

I discovered that function(cast()) caused errors with dynamic params, a simple solution was allowing a dynamic param to pass through the checkOperands test. The fix was made on dy/dev in 14454, but I still need to add a test.