id
stringlengths
22
25
commit_message
stringlengths
137
6.96k
diffs
listlengths
0
63
derby-DERBY-6136-5e33d798
DERBY-6136: Cleanup RawDBReader; commit derby-6136-02-aa-cleanup.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1716908 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/optional/org/apache/derby/optional/dump/RawDBReader.java", "hunks": [ { "added": [ " * in the seg0 subdirectory of a corrupt database." ], "header": "@@ -42,7 +42,7 @@ import org.apache.derby.tools.dblook;", "removed": [ " * in the se...
derby-DERBY-6137-2684c772
DERBY-6137: Cleanup cache manager usage by SYSCS_UTIL.SYSCS_PEEK_AT_SEQUENCE. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1466522 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ " SequenceUpdater sequenceUpdater = null;", "", " try {", " sequenceUpdater = (SequenceUpdater) sequenceGeneratorCache.fin...
derby-DERBY-6137-fac3fe7b
DERBY-6137: Don't clear the sequence cache during most DDL write operations. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1466481 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ "\t\t\t\t\t\t// Until we implement ALTER SEQUENCE, there should be no need", " // to clear the sequence cache. Always clearing the sequence cach...
derby-DERBY-614-41f1df99
DERBY-614 Execution failed because of a Distributed Protocol Error Fixes the split logic when data passes the blksize boundary. Details of the fix are in spec.html attached to DERBY-614 Contributed by Bryan Pendleton git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@355689 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java", "hunks": [ { "added": [ "\t * If the client is not using rowset processing, this routine attempts", "\t * to pack as much data into the QRYDTA as it can. This may result in", "\t * splitting ...
derby-DERBY-614-505bb8a1
DERBY-1533: ArrayIndexOutOfBoundsException in DDMReader DERBY-1533 follows in a series of bugs (DERBY-170, DERBY-428, DERBY-491, DERBY-492, DERBY-614 among others) which have to do with the particulars of the DRDA protocols used for handling long messages and large amounts of data. In this particular issue, the problems involve the situation in which the server is receiving a message which is segmented across multiple layer A blocks using DSS continuations. This is a relatively unusual case, as generally large amounts of data flow from the server to the client, not vice versa. This change contains two modifications to DDMReader, as well as some tests: 1) The Network Server method DDMReader.compressBLayerData was incorrect in several respects. Rather than going through that code in detail, I noticed that an almost identical version of this routine exists in the DerbyNetClient, in the class Reply, and I am pretty confident that the client side code is working, so I just wholesale modified the server's compressBLayerData method so that it matched the client's method. 2) When the client is sending parameter data to the server, and the data to be sent is a large array of bytes for a blob, the client, the client may send the data inline as DRDA_TYPE_NVARBYTE, or it may externalize the data and send it as DRDA_TYPE_NLOBBYTES. I believe that similar things happen with CLOB. The client makes this decision based on the length of the data to be sent; short values are sent inline, and long values are sent externalized. When the server receives the data, it must decide whether it is reading an inline string of bytes, or externalized data, and it, too, makes this decision based on the length of the data. However, the server's code for this was comparing the length of the byte string against the amount of data left in the current segment, as opposed to comparing it against the constant threshold value for switching from inline bytes to externalized bytes; hence if a long byte string happened to start late in a buffer, and was then segmented (continued) into a subsequent buffer, the server would mistakenly think the byte string was being sent as externalized bytes, when in fact it was sent as inline bytes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@430077 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/drda/org/apache/derby/impl/drda/DDMReader.java", "hunks": [ { "added": [ "\t\tif (length < DssConstants.MAX_DSS_LENGTH)" ], "header": "@@ -1321,7 +1321,7 @@ class DDMReader", "removed": [ "\t\tif (length < dssLength)" ] ...
derby-DERBY-614-6bfbcd6d
DERBY-614 patch 2 - clear splitQRYTDA field for reuse of the resultset Bryan said .. With my first patch to this bug, I introduced a problem in this processing; the splitQRYDTA field was not cleared when the statement was closed. This meant that if that splitQRYDTA field just happened to have some pending query data from the previous statement at the point where it was re-used, the pending query data would erroneously stick around and be returned as the first result for the new statement. Contributed by Bryan Pendleton git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@378552 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6144-afbc4ba9
DERBY-6144 nightly regression test failure, intermittent error : testStatisticsCorrectness(org.apache.derbyTesting.functionTests.tests.store.AutomaticIndexStatisticsTest)junit.framework.A test was asserting that stats had to be created after "now". I think the nightly was getting a case where the time was the same. DERBY-5046 fixed a different part to the same test to check for greater than now, so implemented that same fix at the offending line. Also added some text to be printed with the variable values if it happens again. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1467011 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6146-dfb19f24
DERBY-6146 testMultipleLastKeyWaitsInMaxScan(org.apache.derbyTesting.functionTests.tests.store.IndexSplitDeadlockTest)junit.framework.AssertionFailedError: Column value mismatch @ column '1', Check that locks have been taken as expected instead of always just waiting one second to avoid intermittent failure git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1526569 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6147-7fc16c3f
DERBY-6147: ClosedObjectTest fails on the 10.9 branch when running on Java 8 Skip testing of JDBC methods that have not been implemented. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464367 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6148-9f0dc0eb
DERBY-6148 Wrong sort elimination when using permuted sort order Patch derby-6148-3. Adds lacking use of join order index map into optimizableList in method OrderByList#sortRequired. Also adds regression tests for previously failing (and a some good) queries. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485938 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConstraintDescriptor.java", "hunks": [ { "added": [ "import java.util.Arrays;" ], "header": "@@ -21,6 +21,7 @@", "removed": [] } ] }, { "file": "java/engine/org/apache/derby/impl/sql...
derby-DERBY-615-1093b6d4
DERBY-615 In unit tests use System.setProperty() instead of System.getProperties().put() to set system properties. Means more specific permissions can be granted in the policy file. Disable testsqldecimal from running with the security manager due to DERBY-616. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@329310 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/unitTests/store/T_RecoverBadLog.java", "hunks": [ { "added": [ "\t\t\t\tSystem.setProperty(LogToFile.TEST_LOG_PARTIAL_LOG_WRITE_NUM_BYTES, Integer.toString(numcol*20));" ], "header": "@@ -507,7 +507,7 @@ public class T_R...
derby-DERBY-615-261cb847
DERBY-615 Change the test harness to run tests with a security manager by default, using the same mechanism as used to install a security manager for the separate network server process. The security manager is not installed when any of the following are true: noSecurityManager=true is in the <testname>_app.properties file JCC (DB2 Universal Driver) is the JDBC client - this is a short term restriction. Tests where useProcess=false, e.g. nist suite - this is a short term restriction. Update the policy file to allow most remaining tests to run using a security manager. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@326736 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-615-9ce0e0f8
DERBY-615 Enable the T_Cipher* and T_SortController tests under the SecurityManager. Add comments (bug numbers) for why lang.dcl and jdbcapi/secureUsers1 are not runnable under the SecurityManager. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@371664 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/unitTests/crypto/T_Cipher.java", "hunks": [ { "added": [ "import java.security.AccessController;", "import java.security.PrivilegedAction;", "import java.security.PrivilegedExceptionAction;", "import java.i...
derby-DERBY-615-cac35cab
DERBY-615 Switch to a security manager policy file with permissions set on a per-jar basis for improved testing under a security manager. First step in running all tests under a security manager. This policy file replaces the nwsvr.policy file and currently is used in the same way, for tests that invoke a separate JVM for the network server. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@320762 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/harness/jvm.java", "hunks": [ { "added": [ "\tprivate static String DEFAULT_POLICY=\"util/derby_tests.policy\";" ], "header": "@@ -108,7 +108,7 @@ public abstract class jvm {", "removed": [ ...
derby-DERBY-615-f32e51e1
DERBY-615 Make RunTest install a SecurityManager when using useprocess=false. Add a utility SQL test function to indicate if a SecurityManager is installed. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@365776 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/harness/jvm.java", "hunks": [ { "added": [ "import java.io.IOException;", "" ], "header": "@@ -23,6 +23,8 @@ package org.apache.derbyTesting.functionTests.harness;", "removed": [] },...
derby-DERBY-6150-c61e6e82
DERBY-6150 Add automatic cleanup of connections opened with openDefaultConnection() git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1465187 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6151-fe1ac60a
DERBY-6151: Preserve the SQLWarnings raised by table functions. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464934 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/VTIResultSet.java", "hunks": [ { "added": [ "import java.sql.SQLWarning;" ], "header": "@@ -60,6 +60,7 @@ import org.apache.derby.vti.Restriction;", "removed": [] } ] } ]
derby-DERBY-6154-0e593faf
DERBY-6154 add non-order by cases to the BlobClob4BlobTest While debugging DERBY-6092 it was noted that some other code paths could be exercised by adding non order by queries to one of the test cases. This change just reruns one of the test cases with order by queries and then again with non-order by queries. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1468229 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6154-1958f1bb
DERBY-6154 backing out change #1468229. test worked when run standalone but changes did not work when test was run as full suite. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1468307 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6154-8f1a708d
DERBY-6154 add non-order by cases to the BlobClob4BlobTest While debugging DERBY-6092 it was noted that some other code paths could be exercised by adding non order by queries to one of the test cases. This change just reruns one of the test cases with order by queries and then again with non-order by queries. This change adds non-order by test runs based on the testPositionAgressive() test case. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1469000 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6154-ca9270d8
DERBY-6154 add non-order by cases to the BlobClob4BlobTest While debugging DERBY-6092 it was noted that some other code paths could be exercised by adding non order by queries to one of the test cases. This change just reruns one of the test cases with order by queries and then again with non-order by queries. This change adds non-order by test runs based on the testTriggersWithClobColumn() test case. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1468661 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-616-1093b6d4
DERBY-615 In unit tests use System.setProperty() instead of System.getProperties().put() to set system properties. Means more specific permissions can be granted in the policy file. Disable testsqldecimal from running with the security manager due to DERBY-616. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@329310 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/unitTests/store/T_RecoverBadLog.java", "hunks": [ { "added": [ "\t\t\t\tSystem.setProperty(LogToFile.TEST_LOG_PARTIAL_LOG_WRITE_NUM_BYTES, Integer.toString(numcol*20));" ], "header": "@@ -507,7 +507,7 @@ public class T_R...
derby-DERBY-616-20445e3c
DERBY-616, committing on behalf of Suresh Thalamati - Added a missing privileged blocks for I/O call in StreamFileContainer.java , this class is used by the sort during index creation ..etc. -- Enabled some of the tests which were not running under security manager earlier because of this bug to run by default with security manager. -- removed the additional permissions from the derby test policy file that were added earlier to avoid this bug for some test cases. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@384282 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/StreamFileContainer.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.util.ReuseFactory;" ], "header": "@@ -57,6 +57,7 @@ import org.apache.derby.iapi.services.io.CompressedNumber;", "remov...
derby-DERBY-6161-ec69f5f3
DERBY-6161: Simplify code that handles LOB files - remove EncryptedLOBFile.close() and let it inherit from super class - move code that doesn't need privileges out of privileged block in LOBStreamControl.init() - remove unnecessary exception handling in privileged block in LOBStreamControl.deleteFile() - fix typos and misformatted @throws clauses in javadoc comments git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1466503 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EncryptedLOBFile.java", "hunks": [ { "added": [ " * @throws StandardException if error occurred during encryption/decryption" ], "header": "@@ -130,7 +130,7 @@ class EncryptedLOBFile extends LOBFile {", "re...
derby-DERBY-6162-b32256d0
DERBY-6162: Simplify privileged actions in NetworkServerControlApiTest Remove calls to deprecated method java.io.File.toURL(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1466914 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6163-3546404b
DERBY-6163: Reduce visibility of methods in subclasses of PageBasicOperation Make all abstract classes in the PageBasicOperation class hierarchy package protected. Make all constructors in the class hieararchy package protected, except the no-argument constructors as the Formatable interface requires them to be public. Also reduce visibility of the RawField class, which is only used by StoredPage in the same package. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1467197 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/AllocPageOperation.java", "hunks": [ { "added": [], "header": "@@ -21,21 +21,15 @@", "removed": [ "import org.apache.derby.impl.store.raw.data.PhysicalPageOperation;", "import org.apache.derby.impl....
derby-DERBY-6166-da7973c3
DERBY-6166: Encapsulate the list of service properties. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1470551 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/property/PropertyUtil.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.io.ArrayUtil;" ], "header": "@@ -25,6 +25,7 @@ import org.apache.derby.iapi.reference.Property;", "removed": [] ...
derby-DERBY-6167-e1c9e2b7
DERBY-6167: Interrupt restarts clock for login timeout git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1500585 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/jdbc/InternalDriver.java", "hunks": [ { "added": [ " private EmbedConnection timeLogin(", " long now = System.currentTimeMillis();", " long giveUp = now + loginTimeoutSeconds * 1000L;", " ...
derby-DERBY-6168-373cf9d4
DERBY-6168: Clean up registered format ids Removed the format ids for the run-time statistics classes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1467200 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/io/RegisteredFormatIds.java", "hunks": [ { "added": [], "header": "@@ -21,9 +21,6 @@", "removed": [ "import org.apache.derby.iapi.services.sanity.SanityManager;", "import org.apache.derby.iapi.services.in...
derby-DERBY-6168-daaebdbd
DERBY-6168: Clean up registered format ids Remove entries that reference non-existing classes or classes that do not implement the TypedFormat interface or the InstanceGetter interface. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1489354 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/io/RegisteredFormatIds.java", "hunks": [ { "added": [ " /* 114 */ null," ], "header": "@@ -163,7 +163,7 @@ private static final String[] TwoByte = {", "removed": [ " /* 114 ...
derby-DERBY-6169-05623b68
DERBY-6169: Reduce visibility of classes and methods under impl/sql Changes to prevent exposing package-private classes outside the package via public or protected fields or methods: - Reduce visibility to package or private if possible - Remove the code if it's not actually used - Use public interfaces rather than implementation classes in the method signatures if the methods have to be public git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481816 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java", "hunks": [ { "added": [], "header": "@@ -28,39 +28,18 @@ import org.apache.derby.iapi.error.StandardException;", "removed": [ "import org.apache.derby.iapi.sql.dictionary.SPSDescriptor;", ...
derby-DERBY-6169-28f94843
DERBY-6169: Reduce visibility of classes and methods under impl/sql Changes under impl/sql/compile: - Reduce visibility of some classes, fields and methods - Remove some unused methods (including one actually used setter method where the field it sets is unused) - Make last parameter of UnaryOperatorNode.init() a scalar rather than an array, since it's always a single value git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1468317 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ConstraintDefinitionNode.java", "hunks": [ { "added": [], "header": "@@ -23,17 +23,13 @@ package\torg.apache.derby.impl.sql.compile;", "removed": [ "import org.apache.derby.iapi.types.TypeId;", "import...
derby-DERBY-6169-42544c4b
DERBY-6169: Reduce visibility of classes and methods under impl/sql - Reduce visibility of fields in ColumnInfo, FKInfo, InsertConstantAction and TablePrivilegeInfo to private or package. - Reduce visibility of TablePrivilegesNode.makePrivilegeInfo() and InsertConstantAction.getAutoincRowLocation() to package. - Clone arrays passed in to public constructors of the above mentioned classes as well as ConstraintInfo. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1478295 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/TablePrivilegesNode.java", "hunks": [ { "added": [], "header": "@@ -32,13 +32,9 @@ import org.apache.derby.iapi.sql.dictionary.TableDescriptor;", "removed": [ "import org.apache.derby.iapi.sql.depend.ProviderLis...
derby-DERBY-6169-519bfa74
DERBY-6169: Reduce visibility of classes and methods under impl/sql Remove the CreateViewNode.getProviderInfo() method in which a bug (it returns colInfos instead of providerInfos) was introduced in revision 1477476. Also remove the single caller of that method, as it appears to be dead code that was only needed for views that had been created with a pre-Derby version of the engine. Since upgrade is only supported from other Derby versions, that logic should not be needed anymore. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1479562 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateViewNode.java", "hunks": [ { "added": [], "header": "@@ -21,12 +21,10 @@", "removed": [ "import java.util.List;", "import org.apache.derby.iapi.services.io.ArrayUtil;" ] } ] }...
derby-DERBY-6169-554386cc
DERBY-6169: Reduce visibility of classes and methods under impl/sql Stop exposing references to the internal array of saved objects in GenericPreparedStatement by making the following changes: - IndexRowToBaseRowResultSet: Since it doesn't need the complete array, make it use getSavedObject(int) instead of getSavedObjects() so that it only retrieves the single object that the caller is interested in. - VTIResultSet: Remove code that may perform lazy initialization of one of the saved objects at run time if it was initially null. Instead, make sure it is initialized when the query is compiled. - GenericPreparedStatement: Change getSavedObjects() to return a read-only view of the internal array, so that callers cannot accidentally modify it. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1471331 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/io/ArrayUtil.java", "hunks": [ { "added": [ "import java.util.Arrays;", "import java.util.Collections;", "import java.util.List;" ], "header": "@@ -21,11 +21,12 @@", "removed": [ ...
derby-DERBY-6169-600780d1
DERBY-6169: Reduce visibility of classes and methods under impl/sql - Make all fields of CreateViewNode and BasicProviderInfo private. - Make BasicProviderInfo's constructor package private. - Make CreateViewNode.getProviderInfo() return an immutable list instead of the actual array to prevent accidental modification by the caller. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1477476 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateViewNode.java", "hunks": [ { "added": [ "import java.util.List;", "", "import org.apache.derby.iapi.services.io.ArrayUtil;" ], "header": "@@ -21,11 +21,12 @@", "removed": [ ...
derby-DERBY-6169-8fe3166c
DERBY-6169: Reduce visibility of classes and methods under impl/sql Reduce visibility of the following methods, and all overrides of them, to package: - QueryTreeNode.generate() - QueryTreeNode.getNullNode() - ResultSetNode.bindResultColumns() - ResultSetNode.generateNormalizationResultSet() - ResultSetNode.generateResultSet() - ResultSetNode.getFromTableByName() - ValueNode.generateExpression() Remove unused method: - ValueNode.generateFilter() git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480187 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java", "hunks": [ { "added": [ " FromTable getFromTableByName(String name, String schemaName, boolean exactMatch)" ], "header": "@@ -2530,7 +2530,7 @@ public class FromBaseTable extends FromTabl...
derby-DERBY-6169-9f2ed7da
DERBY-6169: Reduce visibility of classes and methods under impl/sql Reduce visibility of some methods and fields in impl/sql/compile that expose package-private classes outside of the package. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480941 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromList.java", "hunks": [ { "added": [ " void addFromTable(FromTable fromTable) throws StandardException" ], "header": "@@ -142,7 +142,7 @@ public class FromList extends QueryTreeNodeVector implements Optimi...
derby-DERBY-6169-c67f5dd2
DERBY-6169: Reduce visibility of classes and methods under impl/sql Remove two unused methods in the TriggerExecutionContext interface, and their implementations in InternalTriggerExecutionContext. This also made it possible to remove some fields that were only used by the removed methods, and also corresponding fields and parameters in neighbour classes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1477477 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/DMLModStatementNode.java", "hunks": [ { "added": [ " generateTriggerInfo(relevantTriggers);" ], "header": "@@ -649,7 +649,7 @@ abstract class DMLModStatementNode extends DMLStatementNode", "re...
derby-DERBY-6169-ca6ed176
DERBY-6169: Reduce visibility of classes and methods under impl/sql - Reduce visibility of some classes, fields and constructors under impl/sql/execute - Expose InternalTriggerExecutionContext.getAutoincrementValue() through the interface so that callers don't have to cast the context to the internal implementation type git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1467201 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [], "header": "@@ -25,7 +25,6 @@ import org.apache.derby.iapi.services.context.ContextImpl;", "removed": [ "import org.apache.derby.impl.sql.execute.Int...
derby-DERBY-6169-dda453ed
DERBY-6169: Reduce visibility of classes and methods under impl/sql - Remove the unused targetColumns fields in CursorInfo and GenericPreparedStatement - Replace the getter for the updateColumns field in GenericPreparedStatement with more specific accessor methods that don't expose the underlying array - Make CursorInfo.updateColumns a list instead of an array to take advantage of helper methods in java.util.List - Make ArrayUtil.readStringArray() create one array rather than two - Move QueryTreeNode.getCursorInfo() to StatementNode, since it's only called on nodes of that type git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1470478 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/execute/ExecPreparedStatement.java", "hunks": [ { "added": [], "header": "@@ -28,7 +28,6 @@ import org.apache.derby.iapi.error.StandardException;", "removed": [ "import org.apache.derby.iapi.sql.ResultColumnDescriptor;"...
derby-DERBY-6169-e22e8dc7
DERBY-6169: Reduce visibility of classes and methods under impl/sql Remove unused methods and make DDColumnDependableFinder's constructor package private. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1471382 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DDColumnDependableFinder.java", "hunks": [ { "added": [ " DDColumnDependableFinder(int formatId, byte[] columnBitMap)" ], "header": "@@ -70,7 +70,7 @@ public class DDColumnDependableFinder extends DDdependabl...
derby-DERBY-6178-9b362a64
DERBY-6178 AutoloadTest does not proprogate original jvm -D flags to spawned JVM, leading to LAB regression test failures This change disables the AutoloadTest when a non-default base port is passed to the test run. Currently the test does not work correctly for multiple concurrent runs using different base ports. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1467664 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java", "hunks": [ { "added": [ " /**", " * Return if the base port is default or not.", " *", " * @return true if base port is default.", " */", ...
derby-DERBY-6179-96110786
DERBY-6179 Insert some guarding code into the first replication test to check port availability Add simplification suggested ny Knut; no functional change. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1469165 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java", "hunks": [ { "added": [ " waitForAvailablePort(TestConfiguration.getCurrent().getPort());" ], "header": "@@ -240,7 +240,7 @@ final public class NetworkServerTestSetup extends Ba...
derby-DERBY-6179-a40bc130
DERBY-6179 Insert some guarding code into the first replication test to check port availability Patch replscratch: checks the availability of the ports needed for the replication test testReplication_Local_TestStraightReplication (the first fixture) of the first test in the replication suite. This should make it readily apparent in test log if there is such a problem. Presently one needs to dig into the master or slaves' log files to find that root cause. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1467722 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java", "hunks": [ { "added": [ " waitForAvailablePort(-1);", " }", "", "", " /**", " * Wait until the specified port has been released by", ...
derby-DERBY-618-1c4f638d
DERBY-1121: remove redundant check for DERBY-618 in checkDriver.out so the test will run in a remote server configuration. Committed for Deepa Remesh <dremesh@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@394815 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-618-41c14e50
DERBY-618 Make the client driver connection URL work when spaces are in the URL. Contributed by Deepa Remesh Attaching a patch 'derby-618-v2.diff' which includes code change and a test for this issue. Patch does the following: * Modifies ClientDriver.java - removes the space separator in the call to nextToken in tokenizeDatabase method. This allows use of URL containing database name with spaces. * Adds tests to jdbcapi/checkDriver.java for an url with spaces in database name. Since embedded and jcc driver work with spaces, I added this test for all three frameworks. Test verfies that the specified database gets created. * Modifies master files for the test Ran derbyall with Sun JDK 1.4.2 on Windows XP. I also ran jdbcapi/checkDriver.java with j9 vms. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@382917 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6180-35bdb15a
DERBY-6180; DatabaseMetaDataTest should not fail if there are extra columns but only check the expected ones Moving the assertDatabaseMetaDataColumns method to junit.JDBC and making jdbc4.TestDbMetaData use it. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1627578 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [ " /**", " * Takes a result set and an array of expected colum names (as", " * Strings) and asserts that the column names in the result", " * set met...
derby-DERBY-6180-5b451646
DERBY-6180; DatabaseMetaDataTest should not fail if there are extra columns but only check the expected ones Making DatabaseMetaDataTest use a local method that only checks the expected columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1627436 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6181-b5468e93
DERBY-6181; fix AutoloadTest to support running concurrently when different base ports are specified. Re-enable the test, passing the baseport on to when set, including on to spawned processes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480462 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6184-0fad4e6d
DERBY-6184: Clean up warnings in XA transaction id classes - simplify existing cloning of arrays by using clone() instead of calling new and arraycopy - reduce visibility of array-returning methods in GlobalXactId to make it clearer for code analysis tools that they are not called from outside of the package in which the class lives - remove said methods from the GlobalTransactionId to allow them to be non-public - make the public, array-returning methods in XAXactId return copies of the internal arrays to protect the internal state, as instances of this class may be returned all the way out to the user git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1469243 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/store/access/xa/XAXactId.java", "hunks": [ { "added": [ " this.global_id = (byte[]) global_id.clone();", " this.branch_id = (byte[]) branch_id.clone();" ], "header": "@@ -64,10 +64,8 @@ public class ...
derby-DERBY-6185-8c151840
DERBY-6185 (Query against view with "where name LIKE 'Col1' ESCAPE '\' " failed) During optimizer's pre-processing phase, while cloning a BinaryComparisonOperatorNode, we were not copying the entire state. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1471022 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/BetweenOperatorNode.java", "hunks": [ { "added": [ "\t\t\t\t\t\t\t\t \tBoolean.FALSE," ], "header": "@@ -123,6 +123,7 @@ public class BetweenOperatorNode extends BinaryListOperatorNode", "removed": [] ...
derby-DERBY-6186-3221b8c5
DERBY-6186: Encapsulation improvements - Use DataDescriptorGenerator.newTriggerDescriptor() to build descriptor in SYSTRIGGERSRowFactory instead of calling constructor directly - Make TriggerDescriptor's constructor package private - Make UserDescriptor's constructor package private git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1469240 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/UserDescriptor.java", "hunks": [ { "added": [], "header": "@@ -24,10 +24,6 @@ package org.apache.derby.iapi.sql.dictionary;", "removed": [ "import org.apache.derby.iapi.error.StandardException;", "i...
derby-DERBY-6193-9b33bd11
DERBY-6193: AutomaticIndexStatisticsTest doesn't delete its single-use database Delete the extra database on successful completion. Also wrap the test in a CleanDatabaseTestSetup so that it also cleans up the default database when it's done. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1471264 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6211-049f993f
DERBY-6211: Cleanup optimizer trace support. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1478932 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/db/OptimizerTrace.java", "hunks": [ { "added": [ "import java.io.PrintWriter;", "import java.io.StringWriter;", "import org.apache.derby.iapi.sql.compile.OptTrace;", "import org.apache.derby.impl.sql.compile.D...
derby-DERBY-6211-23e89ebd
DERBY-6211: Add basic tests for xml-based optimizer tracing; tests passed cleanly on derby-6211-09-aa-addTests.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1500056 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerTracer.java", "hunks": [ { "added": [ "import java.io.IOException;", "import java.security.AccessController;", "import java.security.PrivilegedAction;" ], "header": "@@ -21,7 +21,10 ...
derby-DERBY-6211-270c77b2
DERBY-6211: Mark the end of join optimization with a call to traceEndQueryBlock(); commit derby-6211-13-aa-SelectNode_optimizer.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1512294 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/SelectNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.compile.OptimizableList;", "import org.apache.derby.iapi.sql.compile.OptimizablePredicateList;", "import org.apache.derby.iapi.sql....
derby-DERBY-6211-2c50eb38
DERBY-6211: Move optimizer tracer from tools jar to engine jar. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1479642 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerTracer.java", "hunks": [ { "added": [ " Derby - Class org.apache.derby.impl.sql.compile.OptimizerTracer" ], "header": "@@ -1,6 +1,6 @@", "removed": [ " Derby - Class org.apache.der...
derby-DERBY-6211-3c3e7dbf
DERBY-6211: Trace the end of optimizing a query block so that the xml-based optimizer tracer can associate trace information with the correct query block; commits derby-6211-12-aa-traceEndOfQueryBlock.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1511315 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/OptimizerPlan.java", "hunks": [ { "added": [ " public abstract OptimizerPlan leftmostLeaf();" ], "header": "@@ -116,7 +116,7 @@ public abstract class OptimizerPlan", "removed": [ " ...
derby-DERBY-6211-6a270cbc
DERBY-6211: Don't instantiate new optimizers just to create empty CostEstimate objects; commit derby-6211-10-aa-makingCostEstimateObject.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1509671 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CurrentOfNode.java", "hunks": [ { "added": [ "\t\t\tsingleScanCostEstimate = getOptimizerFactory().getCostEstimate();" ], "header": "@@ -109,7 +109,7 @@ public final class CurrentOfNode extends FromTable {", ...
derby-DERBY-6211-85e98cb0
DERBY-6211: Add ability to plug custom trace logic into the optimizer. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1479552 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/impl/tools/optional/OptimizerTracer.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.tools.i18n.LocalizedResource;", "import org.apache.derby.iapi.services.loader.ClassFactory;", "import org.apache.derby.iapi.serv...
derby-DERBY-6211-866d96b3
DERBY-6211: Fix NPE in xml-based optimizer tracing; committing derby-6211-08-aa-fixNPE.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1497537 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/XMLOptTrace.java", "hunks": [ { "added": [ " ContextManager cm = ((QueryTreeNode) optimizable).getContextManager();", " ", " return makeTableName( td.getSchemaName(), td.getName...
derby-DERBY-6211-9881ca44
DERBY-6211: Move the tracer out of the optimizer; tests passed cleanly on derby-6211-11-ab-moveTracerOutOfOptimizer.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1509815 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/Optimizer.java", "hunks": [ { "added": [], "header": "@@ -87,9 +87,6 @@ public interface Optimizer", "removed": [ " /** Return true if optimizer tracing is on */", " public boolean tracingIsOn()...
derby-DERBY-6211-a8f9739f
DERBY-6211: Use schema-qualified names in plan summaries printed by the xml-based optimizer tracer; commit derby-6211-07-ab-useSchemaQualifiedNamesInSummaries.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1494954 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/TableName.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.util.IdUtil;" ], "header": "@@ -31,6 +31,7 @@ import org.apache.derby.iapi.services.sanity.SanityManager;", "removed": [] } ...
derby-DERBY-6211-b6cc9d73
DERBY-6211: Committed derby-6211-05-aa-xmlOptimizerTracer, which adds xml-based optimizer tracing. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1491893 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/OptTrace.java", "hunks": [ { "added": [ " public void traceStart( long timeOptimizationStarted, int optimizerID, OptimizableList optimizableList );" ], "header": "@@ -47,7 +47,7 @@ public interface Opt...
derby-DERBY-6213-04fc939b
DERBY-6213: Deprecate support for Java 5 and CDC Move getParentLogger() to ClientBaseDataSourceRoot and remove it from all the *40 leaf classes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1482632 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/jdbc/BasicClientDataSource40.java", "hunks": [ { "added": [ " * BasicClientDataSource40 is similar to ClientDataSource except it" ], "header": "@@ -21,18 +21,13 @@", "removed": [ "import java.sql.SQLFeatureNotS...
derby-DERBY-6213-073b862d
DERBY-6213: Generify more classes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484818 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/cache/ClassSize.java", "hunks": [ { "added": [ "@SuppressWarnings(\"unchecked\")" ], "header": "@@ -29,6 +29,7 @@ import java.security.AccessController;", "removed": [] }, { "added": [ ...
derby-DERBY-6213-0758fb61
DERBY-6213: Convert misc packages to Java 6. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480251 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/diag/ErrorMessages.java", "hunks": [ { "added": [ "public final class ErrorMessages extends VTITemplate implements VTICosting, java.security.PrivilegedAction<InputStream> {" ], "header": "@@ -63,7 +63,7 @@ import org.apache.der...
derby-DERBY-6213-16d3334c
DERBY-6213: Generify remaining classes needed to remove lint warnings in Derby build. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485822 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/shared/org/apache/derby/shared/common/sanity/AssertFailure.java", "hunks": [ { "added": [ " Class<?> c = Class.forName(" ], "header": "@@ -166,7 +166,7 @@ public class AssertFailure extends RuntimeException {", "removed": [ ...
derby-DERBY-6213-209fdc06
DERBY-6213: Remove java15compile.classpath build variable and the JDBC 3 and JSR 169 stubs. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1487040 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyPreBuild/PropertySetter.java", "hunks": [ { "added": [], "header": "@@ -51,7 +51,6 @@ import org.apache.tools.ant.taskdefs.Property;", "removed": [ " * <li>java15compile.classpath</li>" ] }, { "added": ...
derby-DERBY-6213-274c5ba4
DERBY-6213: Generify impl/sql/conn package. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484498 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateAliasNode.java", "hunks": [ { "added": [ " @SuppressWarnings(\"unchecked\")" ], "header": "@@ -127,6 +127,7 @@ public class CreateAliasNode extends DDLStatementNode", "removed": [] } ]...
derby-DERBY-6213-2e4b1b18
DERBY-6213: Remove more references to EmbeddedSimpleDataSource; tests passed cleanly on derby-6213-25-aa-remove-reflective-references-to-EmbeddedSimpleDataSource.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1495471 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBCClient.java", "hunks": [ { "added": [], "header": "@@ -60,17 +60,6 @@ public final class JDBCClient {", "removed": [ " /**", " * The embedded JDBC client for JSR 169", " */", ...
derby-DERBY-6213-38c638d9
DERBY-6213: Deprecate support for Java 5 and CDC - Remove checks for the JVMInfo.J2ME constant - Move functionality from DirStorageFactory4 to the base class git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1492111 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/info/JVMInfo.java", "hunks": [ { "added": [], "header": "@@ -61,8 +61,6 @@ public abstract class JVMInfo", "removed": [ "\tpublic static final boolean J2ME;", "" ] }, { "added"...
derby-DERBY-6213-400f6eb4
DERBY-6213: Cleanup Java6 related lint warnings in types, load, db, io, and security. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1482443 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/io/vfmem/DataStore.java", "hunks": [ { "added": [ " private final Map<String,DataStoreEntry> files = new HashMap<String,DataStoreEntry>(80);" ], "header": "@@ -54,7 +54,7 @@ public final class DataStore {", "remo...
derby-DERBY-6213-54655611
DERBY-6213: Deprecate support for Java 5 and CDC Remove reflection code that guards access to the BigDecimal class, which is now available on all supported platforms. Remove J2SEDataValueFactory and move all functionality to the base class DataValueFactoryImpl. Remove initalization code for DECIMAL in DataValueFactory.boot(), no longer needed since there is just a single implementation of the DECIMAL type. Make the parser represent DECIMAL literals as BigDecimals instead of Strings. Remove now unused methods in DataValueFactory for constructing SQLDecimal values from String values. Clean up references to CDC in comments. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1516715 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/io/RegisteredFormatIds.java", "hunks": [ { "added": [ " /* 200 */ \"org.apache.derby.iapi.types.DTSClassInfo\", //InstanceGetter" ], "header": "@@ -249,7 +249,7 @@ private static final String[] TwoB...
derby-DERBY-6213-5570eb08
DERBY-6213: Remove CDC DataSource and Driver. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481248 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/demo/simplemobile/SimpleMobileApp.java", "hunks": [ { "added": [ "import org.apache.derby.jdbc.EmbeddedDataSource40; // from derby.jar" ], "header": "@@ -24,7 +24,7 @@ import java.sql.PreparedStatement;", "removed": [ "import org.apa...
derby-DERBY-6213-70516989
DERBY-6213: Generify the Felix stubs in order to remove a lint diagnostic at build time. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1487051 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/stubs/felix/org/osgi/framework/AdminPermission.java", "hunks": [ { "added": [ "\tprivate static class ImplHolder implements PrivilegedAction<Constructor[]> {", "\t\t\tConstructor[] constructors = AccessController.doPrivileged(new ImplHolder());" ], ...
derby-DERBY-6213-78bdf360
DERBY-6213: Collapse the embedded DataSources into their Java 6 base classes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1486921 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/jdbc/EmbeddedConnectionPoolDataSource.java", "hunks": [ { "added": [ "/**", " <P>", " running on full Java SE 6 and higher, corresponding to 4.0 and higher.", " </P>", "\tregistered with a JNDI se...
derby-DERBY-6213-7e7a5890
DERBY-6213: Generify impl/store packages. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1482984 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/store/access/conglomerate/Sort.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.store.access.conglomerate.ScanManager;" ], "header": "@@ -28,6 +28,7 @@ import org.apache.derby.iapi.store.access.conglomerate.Tran...
derby-DERBY-6213-890e5d27
DERBY-6213: Deprecate support for Java 5 and CDC Compile all test code against Java 6 libraries. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481818 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6213-89f21fb4
DERBY-6213: Deprecate support for Java 5 and CDC - Make ColumnDescriptorList extend ArrayList<ColumnDescriptor> instead of ArrayList<TupleDescriptor> - Make ConglomerateDescriptor extend ArrayList<ConglomerateDescriptor> instead of ArrayList<TupleDescriptor> - Make GenericDescriptorList extend ArrayList<UniqueTupleDescriptor> instead of ArrayList<TupleDescriptor> - Change signatures of getDescriptorViaIndex() and getDescriptorViaHeap() so that they can take lists of more specific types than List<TupleDescriptor>, and so that they can return a more specific type than TupleDescriptor git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484821 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/ColumnDescriptorList.java", "hunks": [ { "added": [], "header": "@@ -21,14 +21,8 @@", "removed": [ "import org.apache.derby.iapi.error.StandardException;", "import org.apache.derby.iapi.services.san...
derby-DERBY-6213-923a60f9
DERBY-6213: Deprecate support for Java 5 and CDC Remove constants for no longer supported Java versions in JVMInfo. Remove checks for Java version where same action would be taken for all supported Java versions. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1492116 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/info/JVMInfo.java", "hunks": [ { "added": [ " <LI> 4 - not used, was for JDK 1.4.0 or 1.4.1", " <LI> 5 - not used, was for JDK 1.4.2", " <LI> 6 - not used, was for JDK 1.5" ], ...
derby-DERBY-6213-996ca721
DERBY-6213: Convert a couple misc packages to Java 6. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480365 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/classfile/Attributes.java", "hunks": [ { "added": [ "class Attributes extends Vector<AttributeEntry> {" ], "header": "@@ -25,7 +25,7 @@ import java.util.Vector;", "removed": [ "class Attributes ex...
derby-DERBY-6213-9a0cdf1f
DERBY-6213: Deprecate support for Java 5 and CDC Build network client against Java 6 libraries. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1482405 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/ClientPooledConnection.java", "hunks": [ { "added": [ "import java.util.concurrent.CopyOnWriteArrayList;", "import javax.sql.StatementEvent;", "import javax.sql.StatementEventListener;" ], "header": "@...
derby-DERBY-6213-9d5bd0e4
DERBY-6213: Generify impl/sql/compile and impl/sql/execute. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484566 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateTriggerNode.java", "hunks": [ { "added": [ " HashSet<String> columnNames = new HashSet<String>();" ], "header": "@@ -411,7 +411,7 @@ public class CreateTriggerNode extends DDLStatementNode", ...
derby-DERBY-6213-a15a4702
DERBY-6213: Generify impl/services packages. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1482578 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/bytecode/BCMethod.java", "hunks": [ { "added": [ "\tVector<String> thrownExceptions; // expected to be names of Classes under Throwable" ], "header": "@@ -98,7 +98,7 @@ class BCMethod implements MethodBuilder {", ...
derby-DERBY-6213-a8b9c708
DERBY-6213: Deprecate support for Java 5 and CDC - Revive build target for SqlXmlUtil to ensure that it always includes the org.w3c.dom.xpath interfaces on the compile classpath. - Update SqlXmlUtil.java so that no warnings are printed during compilation. - Remove code that's only used on Java 1.4 and CDC. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481187 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [], "header": "@@ -33,8 +33,6 @@ import java.util.List;", "removed": [ "import java.lang.reflect.InvocationTargetException;", "import java.lang.reflect.Method;" ...
derby-DERBY-6213-bbc882f8
DERBY-6213: Convert the org.apache.derby.vti package to Java 6. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1479972 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/vti/ForeignTableVTI.java", "hunks": [ { "added": [ " private static HashMap<String,Connection> _connections = new HashMap<String,Connection>();" ], "header": "@@ -134,7 +134,7 @@ public\tclass ForeignTableVTI extends VTITe...
derby-DERBY-6213-c655d66c
DERBY-6213: Deprecate support for Java 5 and CDC Remove reflection code in SQLDecimal. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1571938 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLDecimal.java", "hunks": [ { "added": [], "header": "@@ -34,8 +34,6 @@ import org.apache.derby.iapi.services.cache.ClassSize;", "removed": [ "import java.lang.reflect.Method;", "import java.lang.reflect.In...
derby-DERBY-6213-c712a5b8
DERBY-6213: Deprecate support for Java 5 and CDC Add @deprecated tag to the DataSource classes that have been removed from the public API. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1489349 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/tools/SignatureChecker.java", "hunks": [ { "added": [], "header": "@@ -29,7 +29,6 @@ import java.sql.ResultSet;", "removed": [ "import org.apache.derby.jdbc.EmbeddedDataSource40;" ] }, { "added": [ ...
derby-DERBY-6213-dfc9ab0c
DERBY-6213: Convert remaining non-JDBC packages to Java 6 build. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481379 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/catalog/GetProcedureColumns.java", "hunks": [ { "added": [ "import org.apache.derby.impl.jdbc.EmbedResultSetMetaData40;" ], "header": "@@ -32,6 +32,7 @@ import org.apache.derby.iapi.types.DataTypeDescriptor;", "removed":...
derby-DERBY-6213-eec86ed8
DERBY-6213: Convert JDBC build scripts to Java 6 and misc merges. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1482044 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java", "hunks": [ { "added": [ "public abstract class BrokeredConnection implements EngineConnection" ], "header": "@@ -37,7 +37,7 @@ import org.apache.derby.shared.common.reference.SQLState;", ...
derby-DERBY-6213-f2fad755
DERBY-6213: Generify impl/sql/catalog and impl/sql/depend. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1483911 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/ColumnDescriptorList.java", "hunks": [ { "added": [ "public class ColumnDescriptorList extends ArrayList<TupleDescriptor>" ], "header": "@@ -36,7 +36,7 @@ import java.util.Iterator;", "removed": [ ...
derby-DERBY-6214-81fbf525
DERBY-6214 (PreparedStatement.setObject(int, Object, Types.CLOB) fail with DerbyNet) Adding junit test to set CLOB column value using setObject and setString. The test has been disabled when updating more than one row and 1)using setObject to set the value since it runs into closed stream error 2)using setString with large string(test works fine for smaller strings) since it runs into closed stream error git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484649 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6215-4068b525
DERBY-6215: derby.log grows enormously during StressMultiTest Make sure ClobReclamationTest clears the DaemonTrace debug flag when it has completed. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480947 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6216-2a4654bb
DERBY-6216: XPLAIN feature does not work, gives XCL16: ResultSet not open This change adjusts the implementation of the explain-only mode feature, which is enabled via syscs_util.syscs_set_xplain_mode(1). Prior to this change, the implementation short-circuited the open() method of the ResultSet classes, causing the execution engine to terminate immediately because the result sets were not open. This change takes an alternate approach, suggested by Knut Anders: the open() is allowed to proceed normally, but we short-circuit the getNextRow() method of the ResultSet classes. This way, the result sets all appear to be normal result sets, open and ready for business, but they do no work and always produce an empty result. Then, at the end of the execution, the statistics are gathered. They show that no work was done, but they contain information about the overall "shape" of the query plan (which result sets were constructed, and what the overall result set tree looks like). We also discovered that we were completely missing regression tests for the explain-only feature, so this change adds a handful of regression tests, including an IJ-based test, a simple embedded query, and a test that verifies that explain-only mode can be turned on and off between executions of a prepared query. More testing would clearly be beneficial, but this should at least give us a feature that basically works. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1502795 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/BasicNoPutResultSetImpl.java", "hunks": [ { "added": [ "\tprotected final boolean isXplainOnlyMode()", "\t{", "\t\tLanguageConnectionContext lcc = getLanguageConnectionContext();", "\t\treturn", ...
derby-DERBY-622-c7549a52
DERBY-622 (partial): Add privileged blocks for calls to getResourceAsStream() in impl.tools.sysinfo.Main. Committed for Myrna Van Lunteren <m.v.lunteren@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@390000 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/impl/tools/sysinfo/Main.java", "hunks": [ { "added": [ "import java.security.AccessController;", "import java.security.PrivilegedAction;" ], "header": "@@ -20,6 +20,8 @@", "removed": [] }, { ...
derby-DERBY-6220-c40208a6
DERBY-6220: Flag additional Derby properties which are undocumented and remove an unused property. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1488345 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/reference/Property.java", "hunks": [ { "added": [ "\t\tservice properties start with this prefix. These properties are not documented." ], "header": "@@ -52,7 +52,7 @@ public interface Property {", "removed": [ ...
derby-DERBY-6221-8eec7a94
DERBY-6221: Check for invisible PASSWORD column at preprocessing time. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1487946 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java", "hunks": [ { "added": [ " //", " // We're done with binding, so we should know which columns", " // are referenced. We check to see if SYSUSERS.PASSWORD is reference...
derby-DERBY-6227-031e59cf
DERBY-6227: Distinct aggregates don't work well with territory-based collation Make the duplicate elimination use the DataValueDescriptors directly instead of converting the values to String objects first. This ensures that the collation rules of the database are used to compare the values, and those rules may be different from those used by String.equals(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1603793 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/GroupedAggregateResultSet.java", "hunks": [ { "added": [ " private List<List<Set<DataValueDescriptor>>> distinctValues;" ], "header": "@@ -121,7 +121,7 @@ class GroupedAggregateResultSet extends GenericAggreg...