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

Knut Anders Hatlen commented on DERBY-6751:
-------------------------------------------

In the last few days, the performance regression tests have shown a significant 
drop for primary key joins. See here: 
http://home.online.no/~olmsan/derby/perf/joinprimarykey_30d.html

It seems to have started when the patch for this issue was committed. (The 
other candidates were DERBY-6269 and DERBY-6748, but I find it unlikely that 
they had any performance impact.)

The affected test uses {{org.apache.derbyTesting.perf.clients.Runner}} with 
{{-load index_join}}.

The other load types in the regression tests seem unaffected, as far as I can 
tell.

> Prevent user code from getting the LanguageConnectionContext from an 
> EmbedConnection
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-6751
>                 URL: https://issues.apache.org/jira/browse/DERBY-6751
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.12.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>              Labels: derby_backport_reject_10_11
>             Fix For: 10.12.0.0
>
>         Attachments: derby-6751-01-aa-usederbyinternals.diff, 
> derby-6751-01-ab-usederbyinternals.diff, 
> derby-6751-01-ad-usederbyinternals.diff
>
>
> User code can cast a java.sql.Connection to an EmbedConnection and then get 
> the LanguageConnectionContext by calling 
> EmbedConnection.getLanguageConnection(). We should prevent user code from 
> doing this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to