The prepare phase of PreparedStatement returns the scale/precision of parameters for routed
queries. This should be set back on SnappySession during execution so that the current set
of parameters are used rather than those set by the last prepare (which can be different)
Also made the PVS info array size uniform to be three ints per type removing the unused
(and incorrect) fourth field which is supposed to have nullability information.
Added unit test for the bug (PreparedQueryRoutingSingleNodeSuite.scala#SNAP-3332)
The prepare phase of PreparedStatement returns the scale/precision of parameters for routed queries. This should be set back on SnappySession during execution so that the current set of parameters are used rather than those set by the last prepare (which can be different)
Also made the PVS info array size uniform to be three ints per type removing the unused (and incorrect) fourth field which is supposed to have nullability information.
Added unit test for the bug (PreparedQueryRoutingSingleNodeSuite.scala#SNAP-3332)
Other PRs
https://github.com/TIBCOSoftware/snappy-store/pull/567