/[Apache-SVN]
ViewVC logotype

Revision 1742057


Jump to revision: Previous Next
Author: bpendleton
Date: Tue May 3 03:20:11 2016 UTC (7 years, 11 months ago)
Changed paths: 6
Log Message:
DERBY-6884: SYSCS_IMPORT_TABLE_LOBS_FROM_EXTFILE can't import lob data

This change modifies the ImportLobFile.getString() and
ImportReadData.initExternalLobFile() methods so that they use a Java "long"
variable for the offset into the external lob file; prior to this change
they were using a Java "int" variable and hence would malfunction when the
lob offsets exceeded Integer.MAX_VALUE ( 2,147,483,647 ).

The regression test which demonstrates these problems is a bit slow to run;
on my system, it takes approximately 15 minutes to execute, and requires
about 10 GB of available disk space during the test run. Therefore, the
test cases are placed in a new test program (Derby6884Test), which is not
listed in the "standard" system test suites, but rather is only added to the
"largedata" suite. The new test can also be run by itself, e.g.:

ant -Dderby.junit.testclass=org.apache.derbyTesting.functionTests.tests.largedata.Derby6884Test junit-clean junit-single


Changed paths

Path Details
Directorydb/derby/code/trunk/java/build/org/apache/derbyBuild/lastgoodjarcontents/insane.derbyTesting.jar.lastcontents modified , text changed
Directorydb/derby/code/trunk/java/build/org/apache/derbyBuild/lastgoodjarcontents/sane.derbyTesting.jar.lastcontents modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportLobFile.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportReadData.java modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/Derby6884Test.java added
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/largedata/_Suite.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26