id
stringlengths
22
25
commit_message
stringlengths
137
6.96k
diffs
listlengths
0
63
derby-DERBY-4-2060c4a6
DERBY-4397 Allow ORDER BY in subqueries Patch derby-4397-2 which implements this functionality and also adds a new test, OrderByInSubqueries. This patch also solves DERBY-4. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@891952 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateViewNode.java", "hunks": [ { "added": [ "\tprivate OrderByList orderByList;" ], "header": "@@ -68,7 +68,7 @@ public class CreateViewNode extends DDLStatementNode", "removed": [ "" ...
derby-DERBY-400-66125641
DERBY-400: Fixed the SQLState for some of the new client messages to better match what is required by SQL2003 git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@372240 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/shared/org/apache/derby/shared/common/reference/SQLState.java", "hunks": [ { "added": [ " String NOT_IMPLEMENTED = \"0A000.S\";", " String JDBC2_METHOD_NOT_IMPLEMENTED = \"0A002.S\";"...
derby-DERBY-400-e4b24389
DERBY-400: Fixed the SQL states for warnings so they are compliant with SQL2003 -- can't use SQL states that are reserved for standard SQL States. Also refactored the two messages for JDBC2 not supported and JDBC3 not supported into a single message. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@3...
[ { "file": "java/client/org/apache/derby/client/am/CallableStatement.java", "hunks": [ { "added": [ " new MessageId(SQLState.JDBC_METHOD_NOT_IMPLEMENTED));" ], "header": "@@ -915,7 +915,7 @@ public class CallableStatement extends PreparedStatemen...
derby-DERBY-4001-7e23da13
DERBY-4001: Sequence comparison with "ALL" does not yield correct results There are three essential changes in the patch: 1) ProjectRestrictNode.pullOptPredicates() Don't pull any predicates if the from table is marked as a not exists table. This way the flattening of queries like the ones below will work, because t...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/SubqueryNode.java", "hunks": [ { "added": [ "\t\t\treturn getNewJoinCondition(leftOperand, getRightOperand());" ], "header": "@@ -668,10 +668,7 @@ public class SubqueryNode extends ValueNode", "removed":...
derby-DERBY-4018-c6fc81ea
DERBY-4018: ArrayIndexOutOfBoundsException in TopService.inService under heavy multithreaded use of EmbeddedDriver Closed another unsynchronized window between Vector.size() and Vector.elementAt(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@790218 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/monitor/TopService.java", "hunks": [ { "added": [ " // DERBY-4018: Need to hold the synchronization over the entire loop", " // to prevent concurrent modifications from causing an", " // Ar...
derby-DERBY-4018-f0e75f3f
DERBY-4018: ArrayIndexOutOfBoundsException in TopService.inService under heavy multithreaded use of EmbeddedDriver Factored out two for loops and surrounded them with synchronization on the vector they were iterating over. This prevent others from changing the size of the vector between the calls to Vector.size() and ...
[ { "file": "java/engine/org/apache/derby/impl/services/monitor/TopService.java", "hunks": [ { "added": [ " ModuleInstance module = findModuleInstance(instance);", " if (module != null) {", " topModule = module;", " ...
derby-DERBY-4027-8072a568
DERBY-4027: An attempt was made to access an out of range slot on a page When a new value is inserted into an index backing a nullable unique constraint, a check is performed to verify that the adjacent slots do not contain the same value as the one being inserted. This extra check is needed because the index backing ...
[ { "file": "java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java", "hunks": [ { "added": [ " // DERBY-4027: We have moved to the previous page and need", " // to recheck that the slot number is valid (it won't be", ...
derby-DERBY-4028-4d5163b2
DERBY-4028: two rows can be inserted with the same value in a column that a unique constraint on that column should prevent If the slot next to the one where a row is inserted contains a deleted duplicate, move past it and see if there's another non-deleted duplicate hidden behind it. git-svn-id: https://svn.apache....
[ { "file": "java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java", "hunks": [ { "added": [ "", " // If we found a deleted row, we don't know whether there", " // is a duplicate, so we need to continue the search.",...
derby-DERBY-4037-d43d4c3e
DERBY-4037 updated test to wait longer if expected background tasks have not cleaned up expected pages yet. Fast machines should see no slowdown in the test. Slower machines will wait up to 100 seconds before reporting failure after checking iteratively for result every 1 second. Also enhanced printout to identify ...
[]
derby-DERBY-4038-1a363021
DERBY-4038; convert access.sql to junit to avoid an intermittent error on IBM zseries machines when the test is run in the encryption suite. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@897938 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/suites/EncryptionSuite.java", "hunks": [ { "added": [ "import java.sql.Connection;", "import java.sql.Statement;", "import java.util.Properties;", "import org.apache.derbyTesting.functionTests...
derby-DERBY-404-00d8393f
DERBY-404 Remove buggy code from RowUtil.isRowEmpty and never used parameter and fix callers. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@293436 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/store/access/RowUtil.java", "hunks": [ { "added": [ "\t\tReturns true if row is null or row.length is zero.", "\t\t@return true if row is empty.", " DataValueDescriptor[] row) " ], "header": "@@ -24...
derby-DERBY-4040-a4a66c4b
DERBY-4040: SQLChar.getLength returns wrong length for some data values. When asked to return the character length of a SQLChar or SQLVarchar and the value is represented as a stream, skip the two header bytes and then decode the whole stream. The cause of the bug being fixed, was that the byte length was used as the c...
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLChar.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.io.InputStreamUtil;" ], "header": "@@ -44,6 +44,7 @@ import org.apache.derby.iapi.jdbc.CharacterStreamDescriptor;", "removed": [] ...
derby-DERBY-4042-4e83499f
DERBY-4042: Removed double quote from file name used in test The double quote caused failures on Windows. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@740698 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4042-ccc1b8d6
DERBY-4042: org.apache.derby.impl.load.Import needs to escape single quotes Made sure that the export and import procedures properly quoted string literals and SQL identifiers when constructing internal SQL statements. Achieved by using the helper methods in StringUtil and IdUtil. git-svn-id: https://svn.apache.org/...
[ { "file": "java/engine/org/apache/derby/impl/load/ExportResultSetForObject.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.util.IdUtil;" ], "header": "@@ -27,6 +27,7 @@ import java.sql.ResultSet;", "removed": [] } ] }, { "file": ...
derby-DERBY-4044-c61e11be
DERBY-4044: Use helper methods from IdUtil to quote SQL identifiers in EmbedResultSet git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@890357 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.util.IdUtil;" ], "header": "@@ -79,6 +79,7 @@ import java.util.Calendar;", "removed": [] }, { "added": [ ...
derby-DERBY-4050-8f33dfd1
DERBY-4050 Multithreaded clob update causes growth in table that does not get reclaimed - Changes clob update case to call getPage() instead of getPageNoWait() so we are sure to reclaim the page. - Adds some debug statements for other places that we might not reclaim space. - Adds a test. git-svn-id: https://svn.apa...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/ReclaimSpaceHelper.java", "hunks": [ { "added": [ " {", " }", " {", " // If code gets here, the space will be lost forever, and", " ...
derby-DERBY-4053-ad40edaf
DERBY-4053 The local XA connections were not getting rollback during Database close and this resulted into exception at connection close if the connection object had any pending transaction. Made changes so that all the connections(except global XA connections) will have their transactions rolled back before those con...
[ { "file": "java/drda/org/apache/derby/impl/drda/Database.java", "hunks": [ { "added": [], "header": "@@ -70,7 +70,6 @@ class Database", "removed": [ "" ] }, { "added": [], "header": "@@ -80,8 +79,6 @@ class Database", "remov...
derby-DERBY-4054-b514f88e
DERBY-4054 ClobReclamationTest.xtestMultiThreadedUpdateTableLocking() demonstrates the problem. This does not fix the issue. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@743820 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4055-921b2648
DERBY-4059 If space reclamation cannot obtain container lock it will not retry getting the lock This change does make the change so that the retry occurs but in practical application it is unlikely that we will get the lock after three retries, because the retry happens so quickly. See https://issues.apache.org/jira/b...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/ReclaimSpaceHelper.java", "hunks": [ { "added": [ "import org.apache.derby.shared.common.reference.SQLState;" ], "header": "@@ -42,6 +42,7 @@ import org.apache.derby.iapi.store.raw.Transaction;", "rem...
derby-DERBY-4055-ad8fd168
DERBY-4055 Test case to reproduce part of the issue pertaining to not getting the row lock. To reproduce enable ClobReclamationTest.xtestMultiThreadUpdateSingleRow(). This does not fix the issue. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@743867 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4057-1bd9cd27
DERBY-4057 Space is not reclaimed if transaction is rolled back a few changes to make the ClobReclamationTest better behaved across a variety of platforms. The test tries to measure background thread behavior, and needs to allow for machines/jvms that might be single threaded and slow. In one case added a sleep af...
[]
derby-DERBY-4057-2678c360
DERBY-4057 Removing one check in test that is failing across platforms. Separate work under DERBY-6775 will improve the test in this area. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1643463 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4057-2cd0cc18
DERBY-4057 Space is not reclaimed if transaction is rolled back Another change to try and get test to behave well across all platforms. Still encountering some issues that I believe are because background work piles up on slow machines. Trying to address errors encountered in nightly tests: http://people.apache.org...
[]
derby-DERBY-4057-888d12ea
DERBY-4057 Space is not reclaimed if transaction is rolled back Added infrastructure called at insert abort time to queue post abort work. After the abort work is queued in the case of aborted inserts to reclaim space and if possible mark pages free, which then in turn allows them to be used by subsequent work on the ...
[ { "file": "java/engine/org/apache/derby/iapi/store/access/conglomerate/ConglomerateFactory.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.store.access.AccessFactory;", "import org.apache.derby.iapi.store.raw.PageKey;" ], "header": "@@ -27,9 +27...
derby-DERBY-4057-dbde907f
DERBY-6774 org.apache.derbyTesting.functionTests.tests.lang.AlterTableTest.testAddIdentityColumn failed with assert in nightlys Temporarily removing assert that is failing, looks like code should handle the condition anyway. Will renable after figuring out what is going on, hoping this will allow for clean runs from...
[ { "file": "java/engine/org/apache/derby/impl/store/access/heap/Heap.java", "hunks": [ { "added": [ " // DERBY-6774 - temp disabling this ASSERT while working on", " // why it is firing in trunk. The hope is that trunk tests", " /...
derby-DERBY-4057-f56c601d
DERBY-4057 Add disabled test case (xtestReclamationOnRollback() ) for the issue that space is not reclaimed on rollback.This does not fix the issue git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@744169 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4060-aeb43258
DERBY-4060: Blob.getBinaryStream(long,long) is off by one for the pos+len check. Changed the pos/length checks to allow obtaining a stream reading the last byte/char from the LOB. The JavaDoc for Blob.getBinaryStream(long,long) and Clob.getCharacterStream(long,long) (JDBC 4.0) incorrectly states that the position plus ...
[ { "file": "java/client/org/apache/derby/client/am/Lob.java", "hunks": [ { "added": [ " * d) (pos -1) + length > (length of LOB)" ], "header": "@@ -317,7 +317,7 @@ public abstract class Lob implements UnitOfWorkListener {", "removed": [ " ...
derby-DERBY-4061-28365b04
DERBY-4061:InputStream returned from Blob.getBinaryStream(long, long) terminates the stream by returning 0, should return -1. Fixed bug where calling code would enter infinite loop because 0 was returned instead of -1 (EOF). The problem occurred because the actual number of bytes to read was calculated and the case whe...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/UpdatableBlobStream.java", "hunks": [ { "added": [ " long remaining = maxPos - pos;", " // Return EOF if the maximum allowed position has been reached,", " // and we're trying to read at least ...
derby-DERBY-4066-356155c5
DERBY-4066: Add test cases for large (>1M) LOB inout args. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@984916 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4066-75a4806f
DERBY-4066: Allow LOBs as function/procedure input arguments and return values. LOBs still can't be used as output and inout arguments to procedures. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@982936 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/DataType.java", "hunks": [ { "added": [ "import java.sql.Blob;", "import java.sql.Clob;" ], "header": "@@ -34,6 +34,8 @@ import org.apache.derby.iapi.services.sanity.SanityManager;", "removed": [] ...
derby-DERBY-4066-94df7fbd
DERBY-4066: Allow LOBs as OUT/INOUT procedure arguments. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@984393 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/NetCursor.java", "hunks": [ { "added": [ " if ( netResultSet_ != null ) { netResultSet_.markLOBAsPublished(column); }" ], "header": "@@ -1083,7 +1083,7 @@ public class NetCursor extends org.apache.derby.cli...
derby-DERBY-4067-b3bfe123
DERBY-4067: ClientConnectionPoolDataSource.getPooledConnection and ClientXADataSource.getXAConnection ignore connection attributes DERBY-2468: would be nice if traceFile=filename connection attribute would be supported with ClientConnectionPoolDataSource and ClientXADataSource Made two changes: - moved the parsing o...
[ { "file": "java/client/org/apache/derby/jdbc/ClientConnectionPoolDataSource.java", "hunks": [ { "added": [ " updateDataSourceValues(", " tokenizeAttributes(getConnectionAttributes(), null));" ], "header": "@@ -74,6 +74,8 @@ publ...
derby-DERBY-4071-c00561a1
DERBY-4071 AssertFailure when selecting rows from a table with CHARACTER and VARCHAR columns Patch derby-4071 which fixes this issue. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@754579 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/GroupByNode.java", "hunks": [ { "added": [ "\t * In the query rewrite for group by, add the columns on which we are doing", "\t * the group by.", "\t *", "\t * @return havingRefsToSubstitute visito...
derby-DERBY-4072-beac4f39
DERBY-4072 Improve error message if log files are not writable. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@749410 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/raw/log/LogToFile.java", "hunks": [ { "added": [ "\t\t\t\t\tIOException accessException = null;" ], "header": "@@ -982,7 +982,7 @@ public final class LogToFile implements LogFactory, ModuleControl, ModuleSupport", ...
derby-DERBY-4073-a7ab05c3
DERBY-4073: Creation/configuration of ClientXDataSource fails because of two setSsl methods. Removed the method setSsl(int). Added constants for the valid values for setSsl(String). Documented setSsl(String) and some other methods. Patch file: derby-4073-1a-add_docs_and_remove_setSsl_int.diff git-svn-id: https://svn...
[ { "file": "java/client/org/apache/derby/jdbc/ClientBaseDataSource.java", "hunks": [ { "added": [ " /** The constant indicating that SSL encryption won't be used. */", " private final static String SSL_OFF_STR = \"off\";", " /** The constant indicating tha...
derby-DERBY-4079-69a192ae
DERBY-4079 Add support for SQL:2008 <result offset clause> and <fetch first clause> to limit result set cardinality Added this new feature, corresponding to patch derby-4079-3. Documentation is committed separately. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@754558 13f79535-47bb-0310-9956-ffa45...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CursorNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.types.DataValueDescriptor;" ], "header": "@@ -34,6 +34,7 @@ import org.apache.derby.iapi.sql.dictionary.DataDictionary;", "removed"...
derby-DERBY-4081-4f376647
DERBY-4081: BTreeController.comparePreviousRecord() may fail to release latch on left-most leaf When a new value is inserted into a nullable unique index, the rows immediately to the left and the right of the insertion point are checked for duplicates. comparePreviousRecord() checks the rows to the left of the inserti...
[]
derby-DERBY-4083-571f201a
DERBY-4083: BTreeScan.delete() throws AM_RECORD_NOT_FOUND if record is found Changed the logic so that the exception is thrown if the record is not found. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@952131 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/unitTests/store/T_b2i.java", "hunks": [ { "added": [ "\t\t\t\tt_020(tc) &&", "\t\t\t\tt_021(tc)" ], "header": "@@ -173,7 +173,8 @@ public class T_b2i extends T_MultiIterations", "removed": [ ...
derby-DERBY-4087-14fde85b
DERBY-4087 Clean up debug printing of the abstract syntax trees after parsing, binding and optimization Reverting use of class Patter as it is not available in Foundation 1.2, so it cannot be sued in engine code. Originally committed as part of svn 808523. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code...
[ { "file": "java/engine/org/apache/derby/iapi/util/StringUtil.java", "hunks": [ { "added": [], "header": "@@ -24,9 +24,6 @@ package org.apache.derby.iapi.util;", "removed": [ "import java.util.regex.Pattern;", "import java.util.regex.Matcher;", "" ...
derby-DERBY-4087-996c8945
DERBY-4087 Clean up debug printing of the abstract syntax trees after parsing, binding and optimization Temporary roll-back of changes (808523) to the statistics printing, because they broke some old harness tests to change. It will take a while to establish correctness of new masters, so rolling back for now. Expect...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/rts/RealDistinctScanStatistics.java", "hunks": [ { "added": [], "header": "@@ -28,7 +28,6 @@ import org.apache.derby.catalog.UUID;", "removed": [ "import org.apache.derby.iapi.util.StringUtil;" ] }...
derby-DERBY-4087-ae848fda
DERBY-4087 Clean up debug printing of the abstract syntax trees after parsing, binding and optimization Follow-up patch, derby-4087-statistics. This fixes the wrong indentation seen in runtimestatistics for scan qualifiers. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@809632 13f79535-47bb-0310-99...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/rts/RealDistinctScanStatistics.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.util.StringUtil;" ], "header": "@@ -28,6 +28,7 @@ import org.apache.derby.catalog.UUID;", "removed": [] }...
derby-DERBY-4087-c9a12062
DERBY-4087 Clean up debug printing of the abstract syntax trees after parsing, binding and optimization Patch DERBY-4087-b, which improves debug-time printing of query trees. Much of the changes concerns cleaning up when to use toString and when to use printSubNodes, a pattern which is well-defined but was severely br...
[ { "file": "java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java", "hunks": [ { "added": [ "import java.util.AbstractMap;" ], "header": "@@ -48,6 +48,7 @@ import org.apache.derby.iapi.sql.execute.RunTimeStatistics;", "removed": [] } ...
derby-DERBY-4088-7062abe7
DERBY-4088: DDMReader readBytes ArrayIndexOutOfBoundsException When ensureBLayerDataInBuffer() calls compressBLayerData() the number of bytes in the buffer is reduced (header bytes are stripped out) and there might be too little data in the buffer when it returns. This patch fixes the problem by ensuring that compress...
[ { "file": "java/drda/org/apache/derby/impl/drda/DDMReader.java", "hunks": [ { "added": [ " // Offset from the start of the valid region of the byte buffer,", " // pointing to the start of the DSS we're looking at.", " int tempOffset = 0;", ...
derby-DERBY-4088-f582a777
DERBY-4088: DDMReader readBytes ArrayIndexOutOfBoundsException Reverted the previous fix (revision 752813) in compressBLayerData() and instead changed ensureBLayerDataInBuffer() to match the corresponding method in Reply.java on the client side. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@755866...
[ { "file": "java/drda/org/apache/derby/impl/drda/DDMReader.java", "hunks": [ { "added": [ " if (dssIsContinued && (desiredDataSize > dssLength)) {", " // The data that we want is split across multiple DSSs", " int continueDssHeaderCount...
derby-DERBY-4092-425fcc91
DERBY-4092: Don't allow invocations of table functions in contexts which expect a scalar function return value. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@805443 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/JavaToSQLValueNode.java", "hunks": [ { "added": [ "import org.apache.derby.catalog.TypeDescriptor;" ], "header": "@@ -21,6 +21,7 @@", "removed": [] } ] } ]
derby-DERBY-4095-c7e05da0
DERBY-4095 Trigger in fails with ERROR 38000: The exception 'java.sql.SQLException: ResultSet not open during VTIResultSet.getNextRowCore() Reinitialize the ResultSet on executeQuery of TriggerNewTransitionRows and TriggerOldTransitionRows so that for a nested loop join, reopening the ResultSet does not result in an e...
[ { "file": "java/engine/org/apache/derby/catalog/TriggerNewTransitionRows.java", "hunks": [ { "added": [ "\t\tinitializeResultSet();", "\t}", "", "\tprivate ResultSet initializeResultSet() throws SQLException {", "\t\tif (resultSet != null)", ...
derby-DERBY-4097-465c7c7d
DERBY-4097: BatchUpdateException in NullableUniqueConstraintTest Improve error reporting when a BatchUpdateException is thrown by the client driver. Use initCause() to put the underlying exception in the chain of exceptions printed by printStackTrace(). Note that there may be more than one underlying exception for a B...
[ { "file": "java/client/org/apache/derby/client/am/BatchUpdateException.java", "hunks": [ { "added": [ " Object[] args, int[] updateCounts, SqlException cause)" ], "header": "@@ -37,7 +37,7 @@ public class BatchUpdateException extends java.sql.BatchUpdateExcepti...
derby-DERBY-4102-e0939287
DERBY-4102: Assert failure or ClassCastException in EmbedBlob when retrieving BLOB >= 32K. Made Derby store the stream content to a temporary location when it knows the stream isn't resetable. Small streams (< 32K) will be stored in memory, larger streams will be written to disk (the switch happens transparently). Adde...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedBlob.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.types.RawToBinaryFormatStream;" ], "header": "@@ -27,6 +27,7 @@ import org.apache.derby.iapi.error.StandardException;", "removed": [] ...
derby-DERBY-4110-190e5231
DERBY-4110: Deleting from a table with its synonym throws an exception When building the ResultColumnList that is used to tie together the search results from the WHERE clause with the processing of the DELETE, the result columns will be bound against the exposed table name of the table named in the DELETE statement, ...
[]
derby-DERBY-4115-a6a07338
DERBY-4115 Provide a way to drop statistics information The details of all the changes in this commit are listed below. 1)Added a new routine SYSCS_DROP_STATISTICS, with public access similar to SYSCS_UPDATE_STATISTICS. This happens in DataDictionaryImpl, where SYSCS_DROP_STATISTICS is added to the list of public acc...
[ { "file": "java/engine/org/apache/derby/catalog/SystemProcedures.java", "hunks": [ { "added": [ "\t * @exception SQLException" ], "header": "@@ -733,7 +733,7 @@ public class SystemProcedures {", "removed": [ "\t * @exception StandardException Sta...
derby-DERBY-4115-c1e0f8ee
DERBY-4115/DERBY-5681: Provide a way to drop statistics information Moved upgrade test from BasicSetup to Changes10_9. Includes some simplifications that could be made because of the move. Patch file: derby-4115-7a-move_test.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1341059 13f79535-47bb...
[]
derby-DERBY-4116-02f8e49b
DERBY-4116 SYSCS_UTIL.SYSCS_UPDATE_STATISTICS should update the store estimated row count for the table git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@760497 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java", "hunks": [ { "added": [ "\t\t//initialize numRows to -1 so we can tell if we scanned an index.\t", "\t\tlong numRows = -1;\t\t", "\t\t" ], "header": "@@ -645,7...
derby-DERBY-4119-cf2105b3
DERBY-4119: Compress on a large table fails with IllegalArgumentException - Illegal Capacity Use long arithmetic to prevent overflow in intermediate results when increasing the capacity of NodeAllocator. Also make sure that the Node array does not exceed maxSize, and allow the sort to continue even if a larger array c...
[ { "file": "java/engine/org/apache/derby/impl/store/access/sort/NodeAllocator.java", "hunks": [ { "added": [ " // Calculate the new length. The new array should be no longer", " // than maxSize. Use a long for the intermediate result to prevent", ...
derby-DERBY-412-e214c072
DERBY-412 - Connection toString should show type information and the meaning of the identifier that it prints - Patch by David Van Couvering(David.Vancouvering@Sun.COM) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@230523 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java", "hunks": [ { "added": [ " private String connString;" ], "header": "@@ -51,6 +51,7 @@ public class BrokeredConnection implements Connection", "removed": [] } ] }, ...
derby-DERBY-4122-5b9a6d9b
DERBY-4122: java/testing/org/apache/derbyTesting/unitTests/junit/ReaderToUTF8StreamTest.java. Added mark/reset functionality to ReaderToUTF8Stream. Made SQLClob use mark/reset to rewind the data stream when too many bytes are read as part of the stream header parsing. This happens when reading Clobs written with the pr...
[ { "file": "java/engine/org/apache/derby/iapi/types/ReaderToUTF8Stream.java", "hunks": [ { "added": [ "import org.apache.derby.shared.common.reference.MessageId;" ], "header": "@@ -30,6 +30,7 @@ import org.apache.derby.iapi.services.i18n.MessageService;", "remo...
derby-DERBY-4124-2ca6c802
DERBY-4124: Remove double-checked-locking from EmbeddedDataSource.findDriver This change ensures that EmbeddedDataSource.findDriver always synchronizes its access to the 'driver' member variable. The previous code performed unsynchronized access to the field, and then, depending on the results of the unsynchronized ac...
[ { "file": "java/engine/org/apache/derby/jdbc/EmbeddedDataSource.java", "hunks": [ { "added": [ "\t\tsynchronized(this)", "\t\t\t// The driver has either never been booted, or it has been", "\t\t\t// shutdown by a 'jdbc:derby:;shutdown=true'", "\t\t\tif (...
derby-DERBY-4125-20e986d5
DERBY-4125: The in-memory storage back end doesn't work on Windows. Changed the in-memory storage factory to rely much more on java.io.File to handle paths and names. The data store now stores all files and directories with normalized paths. Also fixed a bug in DataStore.deleteEntry for deletion of directories. Added t...
[ { "file": "java/engine/org/apache/derby/impl/io/VFMemoryStorageFactory.java", "hunks": [ { "added": [ " store.purge();" ], "header": "@@ -58,7 +58,7 @@ public class VFMemoryStorageFactory", "removed": [ " store.deleteAll...
derby-DERBY-4126-4d0fc78c
DERBY-4126: Find table functions even when they are in jar files in the database. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@759360 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromVTI.java", "hunks": [ { "added": [ " Class vtiClass = lookupClass( className );", " Class vtiCostingClass = lookupClass( VTICosting.class.getName() );", " try {",...
derby-DERBY-4127-1cd97e82
DERBY-4127: Port 764471 from 10.5 branch to main. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@764481 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java", "hunks": [ { "added": [ "import java.util.HashSet;" ], "header": "@@ -61,6 +61,7 @@ import java.io.ObjectInput;", "removed": [] }, { "added": [ " Ha...
derby-DERBY-4137-849dab23
DERBY-4137: OOM issue using XA with timeouts Reduce the memory footprint when executing successful XA transactions that have a timeout set by nulling out the reference to the XATransactionState object in the timer task. The timer task will stay around in the timer queue until reaching the scheduled time - even if the...
[ { "file": "java/engine/org/apache/derby/jdbc/XATransactionState.java", "hunks": [ { "added": [ " private static class CancelXATransactionTask extends TimerTask {", " private XATransactionState xaState; ", "", " /**", " ...
derby-DERBY-4141-31ba8d0a
DERBY-4141 XAExceptions thrown by Derby can have errorCode 0 git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@764495 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/NetXAResource.java", "hunks": [ { "added": [ " rc = getSqlExceptionXAErrorCode(sqle);" ], "header": "@@ -167,7 +167,7 @@ public class NetXAResource implements XAResource {", "removed": [ "...
derby-DERBY-4145-7168d7da
DERBY-4145: Look for illegal references in generation clauses before binding the clauses. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@762520 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/TableElementList.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.dictionary.ColumnDescriptorList;" ], "header": "@@ -36,6 +36,7 @@ import org.apache.derby.iapi.types.TypeId;", "removed":...
derby-DERBY-4146-a8c09662
DERBY-4146: Bind a column descriptor to a generated result column for INSERTs without target lists. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@763230 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4149-58355bbd
DERBY-4149 test failure in jdbcapi.InternationalConnectSimpleDSTest fixture testSimpleDSConnect on IBM iseries - Database '?' not found. Fix the test so that it cleans up the database directory even if connection fails. This does not correct the actual test failure, just the cleanup. git-svn-id: https://svn.apache...
[]
derby-DERBY-4149-6c42ee6d
DERBY-4149; test failure in jdbcapi.InternationalConnectSimpleDSTest - skipping the fixtures in InternationalConnectSimpleDSTest and InternationalConnectTest on iseries. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1058707 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4149-cd5b86ca
DERBY-4149; test failure in jdbcapi.InternationalConnectSimpleDSTest fixture testSimpleDSConnect on IBM iseries - Database '?' not found. reinstating the skipped test cases after fix of jvm on iseries git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1245283 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-415-32803bce
DERBY-415 : sysinfo with -cp client should not complain about DB2 Driver This change modifies the behavior of the "-cp client" argument to the sysinfo tool. Formerly, this argument checked for both the DerbyNetClient and the DB2 JCC driver, and complained if both drivers were not present. Increasingly, users of Derby...
[ { "file": "java/tools/org/apache/derby/impl/tools/sysinfo/Main.java", "hunks": [ { "added": [ "\tprivate static final String DB2DRIVER = \"db2driver\";", "\tprivate static final String USAGESTRINGPARTA = MAINUSAGESTRING + \" [ [ \" + EMBEDDED + \" ][ \" + NET + \" ][ \" + C...
derby-DERBY-4154-7feaf9c0
DERBY-4154 DboPowersTest should not hard upgrade the system/wombat database The patch makes the hard upgrade fixture use another database than "system/wombat", by wrapping the offending test cases in a singleUseDatabaseDecorator. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@788369 13f79535-47bb-...
[]
derby-DERBY-4157-6409b407
DERBY-4157: Add a test for the integrity of metadata along all upgrade trajectories--the test must be run standalone and is not wired into our regression test suite. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@785826 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4157-e65365e6
DERBY-4157 (partial) Create a test to verify that virgin metadata is identical to hard-upgraded metadata Contributed by Rick Hillegas Attaching derby-4157-01-aa-refactor.diff. This patch is a first step toward writing the new test. This patch factors out some of the existing upgrade test machinery so that the new tes...
[]
derby-DERBY-4160-fed9c08f
DERBY-4160: getMetaData().getIndexInfo crashes with "ERROR X0Y68: Column 'PARAM1' already exists." Use a shared code path for adding parameters to SYS.SYSCOLUMNS on the first compilation and subsequent compilations of a meta-data query. Previously, the first compilation took a different code path, but that caused prob...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/SPSDescriptor.java", "hunks": [ { "added": [ " private final boolean initiallyCompilable;" ], "header": "@@ -137,7 +137,7 @@ public class SPSDescriptor extends UniqueSQLObjectDescriptor", "remove...
derby-DERBY-4166-a216dfd4
DERBY-4166 improvements to the mailjdbc test Contributed by Lily Wei lilywei@yahoo.com - Changed schema to allow multiple attachments. - Increase sleep time between threads to avoid deadlocks. - Restructure refresh thread to more accurately reflect mail retrieval. - maintain 10 - 56 rows during test to keep size predi...
[ { "file": "java/testing/org/apache/derbyTesting/system/mailjdbc/tasks/Browse.java", "hunks": [ { "added": [ "\t\t\t\t//Try to avoid deadlock situation with delete from Refresh thread", "\t\t\t\tThread.sleep(100000);", "\t\t\t\t//Checking whether Refresh thread is ...
derby-DERBY-4166-d9e100c4
DERBY-4166 (partial) improvements to the mailjdbc test Make databaseSize a recursive method to calculate the disk usage properly git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@795310 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/system/mailjdbc/utils/DbTasks.java", "hunks": [ { "added": [ "\t\tlong dbsize = databaseSize(new File(\"mailsdb\"));" ], "header": "@@ -621,7 +621,7 @@ public class DbTasks {", "removed": [ "\t\tlong db...
derby-DERBY-417-fcfc9254
DERBY-417: Remove hardcoded references to encryption providers in Beetle6038 and let Derby choose the correct encryption provider. This allows the test to pass on Mac OS X and any other JVM where the vendor is not Sun or IBM. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@380287 13f79535-47bb-0310-9...
[]
derby-DERBY-4171-5bef31e2
DERBY-4171: Connections to on-disk db go to in-memory db if in-memory db with same name is booted. If the storage factory isn't the default one (DIRECTORY), don't allow connections without a subsubprotocol specified. Added a test. Patch file: derby-4171-1b-fix.diff git-svn-id: https://svn.apache.org/repos/asf/db/de...
[]
derby-DERBY-4175-84fa650c
DERBY-4175 Instability in some replication tests under load, since tests don't wait long enough for final state or anticipate intermediate states Patch derby-4175-3 (+ resolved some conflicts arising from commit of DERBY-3417). It makes three replication tests less sensitive to load by making them accept intermediate...
[]
derby-DERBY-4177-8654374d
DERBY-4177: Javadoc for BTreeLockingPolicy should not mention "scan lock" The fix for DERBY-2991 removed the concept of a "scan lock" and RECORD_ID_PROTECTION_HANDLE, so the javadoc for the BTreeLockingPolicy class hierarchy should not mention them anymore. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/...
[ { "file": "java/engine/org/apache/derby/impl/store/access/btree/BTreeLockingPolicy.java", "hunks": [ { "added": [], "header": "@@ -24,7 +24,6 @@ package org.apache.derby.impl.store.access.btree;", "removed": [ "import org.apache.derby.iapi.store.raw.RecordHandle;" ...
derby-DERBY-4179-0c7cea74
DERBY-4179 bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista Followup comment fix. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@942480 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4179-6c65c08d
DERBY-4179 bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista Follow-up simplification patch, which replaces the home-grown system property setup/teardown code with the standard SystemPropertyTestSetup. git-svn-id: https://svn.apache.org/repos/...
[]
derby-DERBY-4179-6e930481
DERBY-4179 bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista Followup patch, doc and comment changes only. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@942476 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4179-8badf993
DERBY-4179 bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista Patch derby-4179-junit-5: * Rewrite of boot lock test to JUnit, this also solves the problem with running with jars in relative classpaths. * Added test of effectiveness of derby.da...
[ { "file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java", "hunks": [ { "added": [ "", " /**", " * Decorate a test to use a new database that is created upon the first", " * connection request to the database and shutdown &...
derby-DERBY-418-68c8e7d8
DERBY-418: outofmemory error when running large query in autocommit=false mode DERBY-1142: Metadata calls leak memory Notify GenericLanguageConnectionContext when activations are marked as unused, and clean up unused activations when a new one is added. Patch contributed by Mayuresh Nirhali. git-svn-id: https://svn...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [ "\tprivate volatile boolean unusedActs=false;" ], "header": "@@ -116,6 +116,7 @@ public class GenericLanguageConnectionContext", "removed": []...
derby-DERBY-4182-8b553f1c
DERBY-4182 Before this fix abort of inserts that included clob or blob chains would destroy the links of the allocated pages of the chains. This would leave allocated pages that could never be reclaimed either by subsequent post commit processing or inplace compress. Only offline compress could reclaim the space. ...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/BasePage.java", "hunks": [ { "added": [ " /**", " * Routine to insert a long column.", " * <p>", " * This code inserts a long column as a linked list of rows on overflow", ...
derby-DERBY-4186-72b50c0c
DERBY-4186 After master stop, test fails when it succeeds in connecting (rebooting) shut-down ex-slave Patch derby-4186-2, which solves this issue by a) fixing a bug in SlaveDataBase, which loses and exception iff a command to stop replication arrives from the master to the slave before the initial connection (succes...
[ { "file": "java/engine/org/apache/derby/impl/db/SlaveDatabase.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.error.ExceptionSeverity;" ], "header": "@@ -25,6 +25,7 @@ import org.apache.derby.iapi.error.PublicAPI;", "removed": [] }, { ...
derby-DERBY-4191-46df2550
DERBY-4191 Require minimum select privilege from the tables in the SELECT sql if no column is selected from the table by the user eg select count(*) from root.t; select 1 from root.t; For the query above, Derby was letting the user execute the select even if the user had no select privilege available on root.t With ...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/StatementColumnPermission.java", "hunks": [ { "added": [ "\t\t", "\t\t//DERBY-4191", "\t\t//If we are looking for select privilege on ANY column,", "\t\t//then we can quit as soon as we find som...
derby-DERBY-4193-be4b84e8
DERBY-4193: ASSERT FAILED Scan position already saved with multi-threaded insert/update/delete Forget about the current position before trying to reposition on the end point of a scan. Then the ASSERT won't be confused if it needs to save the position again (it fails if it finds that a position is already saved). BTr...
[ { "file": "java/engine/org/apache/derby/impl/store/access/btree/BTreeScan.java", "hunks": [ { "added": [ " // Forget the current position since we'll use the start key", " // to reposition on the start of the scan.", " ...
derby-DERBY-4198-7d0f620f
DERBY-4198 When using the FOR UPDATE OF clause with SUR (Scroll-insensive updatable result sets), the updateRow() method crashes Patch derby-4198-4. This is the second part of the solution for this issue. It solves the issue of column mapping in the presence of named columns in a FOR UPDATE OF clause. The original cod...
[ { "file": "java/engine/org/apache/derby/iapi/sql/execute/NoPutResultSet.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.execute.RowChanger;" ], "header": "@@ -24,6 +24,7 @@ package org.apache.derby.iapi.sql.execute;", "removed": [] } ...
derby-DERBY-4199-fe7db0f9
DERBY-4199: Write exceptions to file in the fail directory as they occur with JUnit tests. Write exceptions being thrown during JUnit testing to file as soon as they happen. The output file is called 'error-stacktrace.out' and is located under the fail-directory. If the output file already exists, the new output is app...
[]
derby-DERBY-4201-210e0349
DERBY-4201: SecureServerTest AssertionFailedError: Timed out waiting for network server to start Wait until server instances from earlier test cases have released the server port before starting a new server. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1210846 13f79535-47bb-0310-9956-ffa450edef68...
[ { "file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java", "hunks": [ { "added": [ "import java.net.ServerSocket;" ], "header": "@@ -24,8 +24,8 @@ import java.net.InetAddress;", "removed": [ "import java.io.InputStream;" ...
derby-DERBY-4203-934f02da
DERBY-4203 (partial) Change mailjdbc system test to be able to restart with the existing database instead of creating a new one so it can be used for upgrade testing This patch does not include the sttest changes. Contrubuted by Lily Wei (lilywei at yahoo dot com) git-svn-id: https://svn.apache.org/repos/asf/db/d...
[ { "file": "java/testing/org/apache/derbyTesting/system/mailjdbc/utils/DbTasks.java", "hunks": [ { "added": [ "\t/**", "\t * jdbcLoad - Create url, schema and set driver and database system property that will be use later in the test.", "\t * @param driverType - \"...
derby-DERBY-4204-698ab621
DERBY-4204: Runtime statistics not collected on re-execution of statement Make sure NoRowsResultSetImpl.close() prints the collected runtime statistics each time close() is called on a result set that is not currently closed. After DERBY-827 close() didn't print the statistics if the result set had been closed and reo...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/NoRowsResultSetImpl.java", "hunks": [ { "added": [], "header": "@@ -62,7 +62,6 @@ import org.apache.derby.iapi.types.DataValueDescriptor;", "removed": [ "\tprivate boolean dumpedStats;" ] }, ...
derby-DERBY-4204-6b03ead6
DERBY-4204: Statistics not collected on re-execution of statement This change enhances the DERBY-4204 regression test to verify that the XPLAIN table form of statistics collection is also re-collected on each statement re-execution. Without the DERBY-4204 fix, re-execution of DML statements was only resulting in a sin...
[]
derby-DERBY-4208-00c7a208
DERBY-4208 Parameters ? with OFFSET and/or FETCH This patch implements the use of dynamic parameters with OFFSET/FETCH and adds new tests. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@807337 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java", "hunks": [ { "added": [ "\t * @param offsetMethod The OFFSET parameter was specified", "\t * @param fetchFirstMethod The FETCH FIRST/NEXT parameter was", "\t * ...
derby-DERBY-4212-06154a0a
DERBY-4212: Prepared statement with OFFSET/FETCH gives different results on subsequent execute Added a test case to OffsetFetchNextTest (disabled for now). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@771613 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4212-640d05d6
DERBY-4212 Prepared statement with OFFSET/FETCH gives different results on subsequent execute Patch DERBY-4212-2, which fixes this issue by resetting state variables in the close method of RowCountResultSet, and adds a new test case for this use case to OffsetFetchNextTest. git-svn-id: https://svn.apache.org/repos/...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/RowCountResultSet.java", "hunks": [ { "added": [ " final private long offset;", " final private long fetchFirst;", "", " /**", " * True if we haven't yet fetched any rows fro...
derby-DERBY-4213-bbde6187
DERBY-4213; sttest needs to be adjusted to not run out of disk space this change modifies the test in 2 ways: - add in-place-compress so occasionally unused space gets released - adjust the code that picks rows for delete so more rows will get deleted git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/...
[ { "file": "java/testing/org/apache/derbyTesting/system/sttest/utils/CompressTable.java", "hunks": [ { "added": [ "import java.sql.CallableStatement;" ], "header": "@@ -21,10 +21,10 @@", "removed": [ "import java.sql.Statement;" ] } ...
derby-DERBY-4214-a61fd536
DERBY-4214: Fix signature of CLOBGETSUBSTRING during hard-upgrade to 10.6. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@787310 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4215-b05fa6ea
DERBY-4215: remove bad permissions tuple during 10.6 upgrade. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@787754 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java", "hunks": [ { "added": [ " //", " // Change the return type of SYSIBM.CLOBGETSUBSTRING if necessary. See", " //" ], "header": "@@ -451,11 +451,13 @@ publ...
derby-DERBY-4218-c5d9be33
DERBY-4218: "Table/View 'MAX_SCAN' does not exist" in IndexSplitDeadlockTest Wait for all threads to finish before dropping tables in tearDown(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@772534 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4223-a39c84c1
DERBY-4223 Provide the ability to use properties with ij.runScript() adds a new runScript method that allows use of system properties with runScript. DERBY-4217 (partial) adds use derby.tests.port system property when initializing TestConfiguration. Contributed by Tiago Espinha (tiago at espinhas dot net) git-svn-i...
[ { "file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java", "hunks": [ { "added": [ "", " /**", " * Return a decorator for the passed in tests that sets the", " * configuration for the client to be Derby's JDBC client", ...