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

Kathey Marsden commented on DERBY-3842:
---------------------------------------

I am not sure about the intermittent nature, but there does seem to be some 
code that makes real changes based on testSort:
In MergeInserter we have

                if (SanityManager.DEBUG)
        {
            if (SanityManager.DEBUG_ON("testSort"))
            {
                avoidMergeRun = false;
            }
        }

and in MergeSort we have:
        if (SanityManager.DEBUG_ON("testSort"))
                sortBufferMin = sortBufferMax;

It would be good if someone can shed some light on what is the intended use of 
derby.debug.true=testSort and whether it should affect 
derby.storage.sortBufferMax.


> Convert 
> "org.apache.derbyTesting.functionTests.tests.store.holdCursorExternalSortJDBC30.sql"
>  to junit.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3842
>                 URL: https://issues.apache.org/jira/browse/DERBY-3842
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>            Reporter: Junjie Peng
>            Assignee: Tiago R. Espinha
>         Attachments: derby-3842-1.patch, derby-3842-1.stat, 
> derby-3842-tiago.patch
>
>


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