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

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

With revision 551942, adding a test case in main codeline. Also making sure 
correct collation setting is used for character string parameters to the 
procedures when they get created. Commit comments are as follows. Will merge it 
to 10.3.1.1 very soon. 

DERBY-2831 
Forgot to enter a test case during 551793 checkin. This commit just creates a 
function in non-existent database to  ensure we don't throw null pointer 
exception.

In addition, this commit also makes sure that we associate correct collation 
information with the character string parameters to procedures when the 
procedure gets created in CreateAliasNode. We already do this for function but 
similar work needs to happen for procedures.


> NullPointerException creating a function in a schema that doesn't exist when 
> the return type is a character type
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2831
>                 URL: https://issues.apache.org/jira/browse/DERBY-2831
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.3.0.0
>            Reporter: Daniel John Debrunner
>            Assignee: Mamta A. Satoor
>            Priority: Minor
>             Fix For: 10.3.1.1, 10.4.0.0
>
>
> ij> connect 'jdbc:derby:cs;create=true';
> ij> create function aa.b() returns varchar(10) no sql
> parameter style java language java
> external name 'aaa.bbb.ccc';
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

-- 
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