[ 
https://issues.apache.org/jira/browse/DERBY-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510619
 ] 

Mamta A. Satoor commented on DERBY-2777:
----------------------------------------

Checked in comment changes for SUBSTR with revision 553788 for main and 553789 
for 10.3.1.1 codeline. The commit comments are as follows

DERBY-2777

No changes required for SUBSTR because SUBSTR has only one character string 
operand and hence if that character string
operand is a parameter, it's context for collation will be the current 
compilation schema.


> Parameters should take their collation from the context in which they are 
> getting used rather than the current compilation schema
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2777
>                 URL: https://issues.apache.org/jira/browse/DERBY-2777
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.3.0.0
>            Reporter: Mamta A. Satoor
>            Assignee: Mamta A. Satoor
>             Fix For: 10.3.1.1, 10.4.0.0
>
>
> With revision 542646, changes were made so that parameters will take their 
> collation from current compilation schema. But based on the following thread 
> http://www.nabble.com/Collation-and-parameter-markers-(-)-tf3866040.html , 
> using the collation from the context would be the correct thing to do for the 
> parameters.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to