You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2007/05/30 22:34:15 UTC

[jira] Commented: (DERBY-2695) Add locator support of soft upgrade to 10.3

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

Rick Hillegas commented on DERBY-2695:
--------------------------------------

The patch looks good to me. It might be useful at some point to abstract the DRDA type checking from DRDAConnThread into a isLobLocator() method for use by other code. This might be usable by the DRDA type checking code in, say, NetStatementRequest.calculateOUTOVRLidAndLengthOverrides() and I can imagine that other code might need this check in the future.

The tests ran cleanly for me except for the following error in org.apache.derbyTesting.functionTests.tests.lang.CollationTest2. This error also occurs in a clean client which doesn't have this patch. Committed at subversion revision 542925.

testNorwayCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest2)junit.framework.AssertionFailedError: Column value mismatch @ column 'X', row 16:
    Expected: >W?gan<
    Found:    >Waagan<
	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:871)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:764)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:702)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:660)
	at org.apache.derbyTesting.functionTests.tests.lang.CollationTest2.runDerby2670(CollationTest2.java:1766)
	at org.apache.derbyTesting.functionTests.tests.lang.CollationTest2.testNorwayCollation(CollationTest2.java:1929)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)


> Add locator support of soft upgrade to 10.3
> -------------------------------------------
>
>                 Key: DERBY-2695
>                 URL: https://issues.apache.org/jira/browse/DERBY-2695
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Network Server
>    Affects Versions: 10.3.0.0
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>             Fix For: 10.3.0.0
>
>         Attachments: softupgrade.diff
>
>
> If a database is soft upgraded to 10.3, the stored procedures used by the locator implementation will not be present.  Hence, the server will in this scenario need to ignore requests for locators and send LOB values instead.

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