id
stringlengths
22
25
commit_message
stringlengths
137
6.96k
diffs
listlengths
0
63
derby-DERBY-3812-2301e09b
DERBY-3812 - fix test regression in NetworkServerMBeanTest.testAttributeDrdaStreamOutBufferSize caused by checkin of converted test OutBufferStreamTest (DERBY-3796). Patch contributed by Erlend Birkenes git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@682531 13f79535-47bb-0310-9956-ffa450edef68...
[]
derby-DERBY-3818-f6967015
DERBY-3818 (partial): Whitespace and formatting changes only. Patch file: n/a git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@707103 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3819-05ef8bdc
DERBY-3819 ; 'Expected Table Scan ResultSet for T3' in test_predicatePushdown(....PredicatePushdownTest) Causing a number of asserts to be skipped when using a 64 bit platform. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@807733 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3823-7b429a31
DERBY-3823 NullPointerException in stress.multi test Adding a test case showing that in case of a network server, an open resulset's metadata can get changed underneath it but it is not reflected in the metadata. The test creates a table with one of column as varchar(5). It inserts 1000 rows and then opens a reulset...
[]
derby-DERBY-3823-e8fb6d60
DERBY-3823 NullPointerException in stress.multi test This patch fixes a race condition in EmbedPreparedStatement#getMetaData: if we are trying to retrieve the metadata for a prepared statement while it is being recompiled there is a time window during which the activation class is null. The existing code could therefo...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.loader.GeneratedClass;" ], "header": "@@ -64,6 +64,7 @@ import java.sql.Types;", "removed": [] }, { ...
derby-DERBY-3825-925b07bc
DERBY-3825: StoreStreamClob.getReader(charPos) performs poorly. Made the repositioning logic easier to read. Patch file: derby-3825-3a-simplification.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@710033 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/UTF8Reader.java", "hunks": [ { "added": [ " if (requestedCharPos <= readerCharCount - charactersInBuffer) {", " // The stream must be reset, because the requested position is", " // bef...
derby-DERBY-3825-ab2037f8
DERBY-3825: StoreStreamClob.getReader(charPos) performs poorly. Added repositioning functionality to UTF8Reader - ordered after increasing cost: a) Reposition within current character buffer (small hops forwards and potentially backwards - in range 1 char to 8K chars) b) Forward stream from current position (hops for...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedClob.java", "hunks": [ { "added": [ " Reader reader;", " try {", " reader = this.clob.getInternalReader(pos);", " } catch (EOFException eofe) {", ...
derby-DERBY-3831-a90874a5
DERBY-3831; junit.RuntimeStatisticsParser doesn't fully distinguish names of table or index. patch contributed by Junjie Peng git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@685733 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/RuntimeStatisticsParser.java", "hunks": [ { "added": [ " tableName + \" \")!= -1);" ], "header": "@@ -168,7 +168,7 @@ public class RuntimeStatisticsParser {", "removed": [ " ...
derby-DERBY-3840-f23a20f8
DERBY-3840 The test code executes java processes by just executing java instead of using a full path. This may cause the wrong java to be picked up git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@693522 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java", "hunks": [ { "added": [ " al.add( BaseTestCase.getJavaExecutableName() );" ], "header": "@@ -249,7 +249,7 @@ final public class NetworkServerTestSetup extends BaseTestSetup {", ...
derby-DERBY-3844-b61d6349
DERBY-3844: ASSERT failure in BasePage.unlatch() when running LobStreamsTest Disallows calling getBlob or getClob more than once on a given LOB column (on the same result set row). See release note for details, this change may break existing applications. Patch file: derby-3844-1c-disallow_multiple_accesses.diff ...
[ { "file": "java/client/org/apache/derby/client/am/ResultSet.java", "hunks": [ { "added": [ "import java.util.Arrays;" ], "header": "@@ -25,9 +25,9 @@ import java.io.IOException;", "removed": [ "import org.apache.derby.shared.common.i18n.MessageUtil;"...
derby-DERBY-3844-c1832a32
DERBY-3844: ASSERT failure in BasePage.unlatch() when running LobStreamsTest Rewrote test to only call getX once per column per row, as calling for instance getBlob twice on a given column on the same row will be disallowed. Also removed some unused code. Patch file: derby-3844-2a-jdbcdriver_test_rewrite.diff git...
[]
derby-DERBY-3845-d8644b2a
DERBY-3845: Problems running org.apache.derbyTesting.system.optimizer.RunOptimizerTest Make sure the database is initialized also when -mode is specified on the command line. Patch contributed by Ole Solberg <Ole.Solberg@Sun.COM>. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@691583 13f79535-47bb...
[]
derby-DERBY-3850-8106edc9
DERBY-3850: Remove unneeded workarounds for DERBY-177 and DERBY-3693 Removed the wait parameter from methods called from SPSDescriptor.updateSYSSTATEMENTS() since waiting is prevented by another mechanism now. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@692495 13f79535-47bb-0310-9956-ffa450edef6...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java", "hunks": [ { "added": [ "\t\tTransactionController\ttc" ], "header": "@@ -1072,15 +1072,13 @@ public interface DataDictionary", "removed": [ "\t * @param wait\t\t\tTo w...
derby-DERBY-3850-a9215529
DERBY-3850: Remove unneeded workarounds for DERBY-177 and DERBY-3693 Removed the wait parameter from TabInfoImpl.updateRow(). The method only had two callers, both of which called it with wait=true. updateRow() passed the parameter on to openForUpdate() in RowChanger, but that method is sometimes called with wait=fals...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/TabInfoImpl.java", "hunks": [ { "added": [], "header": "@@ -22,18 +22,14 @@", "removed": [ "import org.apache.derby.iapi.services.context.ContextService;", "import org.apache.derby.iapi.sql.conn.Langua...
derby-DERBY-3853-d1661b20
DERBY-3853: Behaviour of setTypeMap() differs between embedded and client Changed the client driver to match the embedded driver. Patch contributed by Yun Lee <yun.lee.bj@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@764217 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3856-79fec783
DERBY-3856: difference between Embedded vs DerbyNetClient in format of return from timestamp(cast(? as varchar(32))) Stop caching the original input string in the parse methods of SQLDate and SQLTimestamp, and instead generate (and cache) a normalized datetime string on the first call to getString(). git-svn-id: htt...
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLDate.java", "hunks": [ { "added": [], "header": "@@ -471,7 +471,6 @@ public final class SQLDate extends DataType", "removed": [ " valueString = parser.getTrimmedString();" ] }, { ...
derby-DERBY-3863-40a45842
DERBY-3863; improve test for import export using ij git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@691506 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-387-5bd651f5
DERBY-387: Fix Simple Network Client sample to work correctly by fixing database name. Contributed by Rajesh Kartha git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@375715 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/demo/nserverdemo/SimpleNetworkClientSample.java", "hunks": [ { "added": [ "import java.lang.reflect.InvocationTargetException;", "import java.lang.reflect.Method;", "import java.sql.Connection;", "import java.sql.DriverManager;", ...
derby-DERBY-3870-044afae1
DERBY-3870: Concurrent Inserts of rows with XML data results in an exception Store XML utility instance in the activation instead of in the compiled plan, so that it's never accessed concurrently by multiple threads. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1125305 13f79535-47bb-0310-9956-ffa...
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [], "header": "@@ -23,8 +23,6 @@ package org.apache.derby.iapi.types;", "removed": [ "import org.apache.derby.iapi.services.io.Formatable;", "import org.apache.derby.i...
derby-DERBY-3870-0f64b702
DERBY-5289 Unable to boot 10.5.1.1 database - fails during soft/hard upgrade process for a new version number while trying to drop jdbc metadata Checking testcase for DERBY-5289. In trunk theDERBY-3870 fix contributed by Knut Anders Hatlen fixed the issue so no code change is needed. Just the portion of DERBY-3870 tha...
[]
derby-DERBY-3870-118ac264
DERBY-3870: Concurrent Inserts of rows with XML data results in an exception Added a test case for the bug (disabled for now). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1101839 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3870-2a09eb57
DERBY-3870: Concurrent Inserts of rows with XML data results in an exception Remove lazy initialization of the field that holds the cached SqlXmlUtil instance. This simplifies the generated byte code. It also removes the need for an explicit syntax check of the XML query during the bind phase, as the earlier initializ...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java", "hunks": [ { "added": [], "header": "@@ -31,7 +31,6 @@ import org.apache.derby.iapi.services.compiler.LocalField;", "removed": [ "import org.apache.derby.iapi.types.SqlXmlUtil;" ...
derby-DERBY-3870-5fc727ca
DERBY-3870: Concurrent Inserts of rows with XML data results in an exception Allow databases that contain triggers with XML operators to be upgraded from a version without the fix for this issue to a fixed version. It used to fail because it couldn't deserialize the old plan for the trigger. Fix it by not trying to de...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ " * The returned descriptors don't contain the compiled statement, so it", " * it safe to call this method during upgrade when it isn't known if the", ...
derby-DERBY-3870-d09782a3
DERBY-3870: Concurrent Inserts of rows with XML data results in an exception Remove the unneeded indirection via SqlXmlExecutor. This reduces the amount of code and removes one object allocation per row when using an XML operator. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1127883 13f79535-47bb...
[ { "file": "java/engine/org/apache/derby/iapi/types/XML.java", "hunks": [ { "added": [ " * @param stringValue The string value to check." ], "header": "@@ -598,7 +598,7 @@ public class XML", "removed": [ " * @param text The string value to che...
derby-DERBY-3870-ed7f8b90
DERBY-6634: Improve test coverage of SqlXmlUtil.java Remove dead code from the time when SqlXmlUtil implemented the Formatable interface (before DERBY-3870). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1605285 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [], "header": "@@ -128,12 +128,6 @@ public class SqlXmlUtil", "removed": [ " // Used to recompile the XPath expression when this formatable", " // object is reco...
derby-DERBY-3871-0c5c5aa1
DERBY-3871: EmbedBlob.setBytes returns incorrect insertion count. Made EmbedBlob.setBytes return the number of bytes inserted, instead of returning the Blob position after the insert. Improved some JavaDoc comments. Added regression tests. Patch file: derby-3871-1a_insertion_count.diff git-svn-id: https://svn.apache....
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedBlob.java", "hunks": [ { "added": [ " * Writes the given array of bytes to the BLOB value that this Blob object", " * represents, starting at position pos, and returns the number of bytes", " * wri...
derby-DERBY-3872-f36770cc
DERBY-3872 The NPE in this jira entry was caused by the missing overwrite of accept() method in IndexToBaseRowNode. Because of the missing code, the additional layer of VirtualColumn node over ResultColumn was not happening for the where clause in HAVING. Once the accept method was added to IndexToBaseRowNode, the Vi...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/IndexToBaseRowNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.compile.Visitable;", "import org.apache.derby.iapi.sql.compile.Visitor;" ], "header": "@@ -27,6 +27,8 @@ import org.a...
derby-DERBY-3875-c33b0cfc
DERBY-3875; closing containers after a problem has been found allows restoreFrom to work correctly. Patch contributions by Jason McLaurin, Kristian Waagan and Myrna van Lunteren. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@703246 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/Utilities.java", "hunks": [ { "added": [ "import java.util.StringTokenizer;" ], "header": "@@ -33,6 +33,7 @@ import java.security.PrivilegedExceptionAction;", "removed": [] }, { "added":...
derby-DERBY-3878-42526fd1
DERBY-3878: Replication: stopSlave does not close serversocket when master has crashed Use try/finally to ensure that the sockets are closed when closing the socket streams fails. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@707591 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/replication/net/SocketConnection.java", "hunks": [ { "added": [ " // If the other party has crashed, closing the streams may fail (at", " // least the output stream since its close() method calls flush()).", ...
derby-DERBY-388-851bcbb2
Port fix for DERBY-388 into 10.1 branch. Address intermittent failures when executing trigger statements caused by references to internal SQL formats. Fix originally submitted to 10.0 branch by Army Brown (qozinx@sbcglobal.net) git-svn-id: https://svn.apache.org/repos/asf/incubator/derby/code/trunk@219115 13f79535-4...
[ { "file": "java/engine/org/apache/derby/impl/sql/GenericPreparedStatement.java", "hunks": [ { "added": [ "\t\t\tif (!spsAction) {", "\t\t\t// only re-prepare if this isn't an SPS for a trigger-action;", "\t\t\t// if it _is_ an SPS for a trigger action, then we can...
derby-DERBY-388-8f235488
DERBY-388: Add a test case to cover this patch submitted earlier. Submitted by Army Brown (qozinx@sbcglobal.net) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@226896 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3880-2e7e8f6d
DERBY-4698 Simple query with HAVING clause crashes with NullPointerException Patch derby-4698-2. The case of column references in HAVING clauses being wrong after JOIN flattening was initially solved by DERBY-3880. That solution was partial in that it can sometimes happen too late. This patch changes the fix-up of c...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromList.java", "hunks": [ { "added": [ " * @param havingClause The HAVING clause, if any", " GroupByList gbl,", " ValueNode havingC...
derby-DERBY-3880-8d13a1f3
DERBY-3880 NPE on a query with having clause involving a join remap expression for AggregateNode operand if the JoinNode has been flattened. Fix contributed by Army Brown git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@711321 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3882-4880a417
DERBY-3882: Expensive cursor name lookup in network server Statements executed via the network client are always given cursor names on the server, even if the user has not set a cursor name. When a statement has a cursor name, the embedded driver will check on each execution that there is no other statement in the sam...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [ " int cursorHash = cursorName.hashCode();", "" ], "header": "@@ -876,6 +876,8 @@ public class GenericLanguageConnectionContext", ...
derby-DERBY-3884-ebad814e
DERBY-3877 SQL roles: build support for dblook Patch derby-3877-2, which adds basic support for roles in dblook (but see DERBY-3884), adds test cases, and also enables the old test harness to shutdown the server using credentials when required due to authentication being enabled (needed by modified test for dblook). ...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/harness/NetServer.java", "hunks": [ { "added": [ "\tString appsRequiredPassword;" ], "header": "@@ -43,6 +43,7 @@ public class NetServer", "removed": [] }, { "added": [ ...
derby-DERBY-3886-7cbf0216
DERBY-3886 SQL roles: ij show enabled and settable roles Adds a VTI table function SYSCS_DIAG.ENABLED_ROLES and two new ij commands; "show settable_roles" and "show enabled_roles", plus new tests. Also tweaks ScriptTestCase to be able to run scripts that need SQL authorization. git-svn-id: https://svn.apache.org/re...
[]
derby-DERBY-3887-7f4445db
DERBY-3887 Embedded Derby fails under JBoss because of JMX-related conflicts Backed out JMX related changes for DERBY-3745. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@784831 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java", "hunks": [ { "added": [], "header": "@@ -163,43 +163,7 @@ public final class JMXManagementService implements ManagementService, ModuleCont", "removed": [ " //DERBY-3745 We wan...
derby-DERBY-3888-b5392dbe
DERBY-3888: ALTER TABLE ... ADD COLUMN cannot add identity columns Enable support for adding identity columns with ALTER TABLE. It is only enabled if identity columns are backed by sequences. That is, the database format has to be 10.11 or higher. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@16261...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java", "hunks": [ { "added": [], "header": "@@ -24,7 +24,6 @@ package org.apache.derby.impl.sql.execute;", "removed": [ "import org.apache.derby.catalog.DefaultInfo;" ] }, ...
derby-DERBY-3889-2fb5c8dd
DERBY-3889: LOBStreamControl.truncate() doesn't delete temporary files Created helper method for closing and deleting temporary files to make it less likely that some of the required operations are forgotten. Also moved the lobFile field into the LOBFile class to reduce the risk of getting inconsistencies between the ...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/LOBFile.java", "hunks": [ { "added": [ " /** The temporary file where the contents of the LOB should be stored. */", " private final StorageFile storageFile;", "", " /** An object giving random a...
derby-DERBY-389-c62aaa25
DERBY-389 Fix a hang accessing the statement cache in network server stress test. The change was to remove the synchronization on the statement cache from the removeStatement method of GenericLanguageConnectionContext. It is not needed because the statement cache handles its own synchronization. Also changes the ja...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [ "\t* This method will remove a statement from the statement cache.", "\t* It will be called, for example, if there is an exception preparing", ...
derby-DERBY-389-df5e1dd0
DERBY-389 Fix nullSQLText.java for J2ME Attaching a patch for the test jdbcapi/nullSQLText.java. This test fails in J2ME because it uses a stored procedure with server-side JDBC. As I understand, the purpose of the test is only to test any stored procedure call. So I replaced the stored procedure in this test with a ...
[]
derby-DERBY-3890-9cc8ad0a
DERBY-3890: Replication: NPE for startSlave of encrypted database Removes NPE for replication of encrypted databases by setting RawStoreFactory in LogFactory before calling SlaveFactory#startSlave. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@708510 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/raw/RawStore.java", "hunks": [ { "added": [ " // RawStoreFactory is used by LogFactory.recover() and by", " // SlaveFactory.startSlave (for the SlaveFactory case, it is", " // only used if the...
derby-DERBY-3897-e3883f5f
DERBY-3897 SQLSessionContext not correctly initialized in some non-method call nested contexts Patch derby-3897-3, which sets up the SQL session context correctly also for substatements. See javadoc for LanguageConnectionContext#setupSubStatementSessionContext for an enumeration of these cases. Also adds test cases fo...
[ { "file": "java/engine/org/apache/derby/iapi/sql/PreparedStatement.java", "hunks": [ { "added": [ "\t * Execute the PreparedStatement and return results, used for top level", "\t * statements (not substatements) in a connection." ], "header": "@@ -93,7 +93,8...
derby-DERBY-3898-24400cd2
DERBY-3898: Blob.setBytes differs between embedded and client driver when the specified length is invalid Added fix and test case for a remaining corner case: When the sum of offset and length is greater than Integer.MAX_VALUE, the client driver silently ignores the error whereas the embedded driver fails with an Inde...
[]
derby-DERBY-390-c47d471f
DERBY-390: Patch to handle case-sensitive SQL identifiers correctly. Import/export procedure parameters for table names, schema names, columns names should be passed in the case-sensitive form if they are quoted identfiers and in upper case if they are not quoted SQL identifiers. Import/export will generate inser...
[ { "file": "java/engine/org/apache/derby/impl/load/ColumnInfo.java", "hunks": [ { "added": [ "", "\t\tthis.schemaName = sName;", "\t\tthis.tableName = tName;", "\t\t\t//eg: C2 , C1 , C3" ], "header": "@@ -80,13 +80,14 @@ class ColumnInfo ...
derby-DERBY-3902-47509e86
DERBY-3902; adjust orphaned message strings; - move J107, J108, J109 to common MessageId.java - remove references to 08000.S.1 and XJ102 from message.xml & mes*.properties git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@704290 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/SqlException.java", "hunks": [ { "added": [ "import org.apache.derby.shared.common.reference.MessageId;" ], "header": "@@ -26,6 +26,7 @@ import java.util.TreeMap;", "removed": [] }, { "added...
derby-DERBY-3902-648e3486
DERBY-3902; correct messages.xml and translated files for SQLState 2003.S.4 (was accidentally listed as 2004.S.4 - see also comment in DERBY-1567). Also fix up MessageBundleTest to ignore two sqlstates that are not exposed to the user so don't need text. git-svn-id: https://svn.apache.org/repos/asf/db/derby/c...
[]
derby-DERBY-3904-57191b46
DERBY-3904: NPE on left join with aggregate The issue involves a very special optimization that is performed for MIN and MAX queries in which we may be able to use an index to go directly to the lowest/highest value of the desired column. For example, in the query SELECT MAX(d1) FROM t1 if there is an index on d1,...
[ { "file": "java/testing/org/apache/derbyTesting/junit/RuntimeStatisticsParser.java", "hunks": [ { "added": [ "\tprivate final boolean lastKeyIndexScan;" ], "header": "@@ -31,6 +31,7 @@ public class RuntimeStatisticsParser {", "removed": [] }, { ...
derby-DERBY-3905-d7731394
DERBY-3905 Failed tests should save the database off to the fail directory git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@704964 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3907-51c45b8b
DERBY-3907: Save useful length information for Clobs in store. Cleanup of ReaderToUTF8Stream, which has to deal with the header in the streams being passed in to Derby. Changes: o Simplified constructors. o Added JavaDoc and comments. o Removed unused imports. o Removed instance variable maximumLength. o Added mor...
[ { "file": "java/engine/org/apache/derby/iapi/types/ReaderToUTF8Stream.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.sanity.SanityManager;", " * Converts the characters served by a {@code java.io.Reader} to a stream", " * returning the data ...
derby-DERBY-3907-52625a50
DERBY-3907: Save useful length information for Clobs in store. Enabled the new header format for Clobs. Description: o ClobStreamHeaderGenerator Enabled the callback mechanism to inform the DVD about whether the database is accessed in soft upgrade mode or not. o SQLChar Added method writeClobUTF, which writ...
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLChar.java", "hunks": [ { "added": [ " /**", " * Writes the header and the user data for a CLOB to the destination stream.", " *", " * @param out destination stream", " * @...
derby-DERBY-3907-6f4c92af
DERBY-3907 (partial): Save useful length information for Clobs in store. Started using the new framework for handling stream headers for string data values. The behavior regarding stream headers is kept unchanged, but the code is now ready to deal with multiple stream header formats. Short description: * EmbedResultSe...
[ { "file": "java/engine/org/apache/derby/iapi/services/io/ArrayInputStream.java", "hunks": [ { "added": [], "header": "@@ -23,7 +23,6 @@ package org.apache.derby.iapi.services.io;", "removed": [ "import java.io.ObjectInput;" ] }, { "added": ...
derby-DERBY-3907-7672693c
DERBY-3907: Save useful length information for Clobs in store. These changes make Derby start using the stream descriptor object to correctly handle streams from store. This is done to be able to use several header formats, where a varying number of bytes are used. Description of changes: o EmbedClob Changed constr...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedClob.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.jdbc.CharacterStreamDescriptor;", "import org.apache.derby.iapi.types.StringDataValue;" ], "header": "@@ -25,15 +25,11 @@ package org.apa...
derby-DERBY-3907-7af67265
DERBY-3907 (partial): Save useful length information for Clobs in store. Added the framework required to handle multiple stream header formats for stream sources. Note that handling of the new header format is not yet added, so the code should behave as before, using only the old header format. A description of the cha...
[ { "file": "java/engine/org/apache/derby/iapi/types/ReaderToUTF8Stream.java", "hunks": [ { "added": [ " /**", " * The stream header to use for this stream.", " * <p>", " * The holder object is immutable, and the header should not have to be...
derby-DERBY-3907-cf0fdc4f
DERBY-3907 (partial): Save useful length information for Clobs in store. Added StringDataValue.getStreamWithDescriptor(). It it intended to be used when getting a stream from a StringDataValue to be used with a Clob object, or with streaming of string data values in general. The DVD is responsible for returning a corre...
[ { "file": "java/engine/org/apache/derby/iapi/jdbc/CharacterStreamDescriptor.java", "hunks": [ { "added": [ " SanityManager.ASSERT(curBytePos >= 0, \"Negative curBytePos\");", " curCharPos == BEFORE_FIRST, \"Invalid curCharPos \" +", ...
derby-DERBY-3907-dfdebd5e
DERBY-3907 (partial): Save useful length information for Clobs in store. Added an interface for a stream header generator object, and two implementations; one for Clob and one for the non-Clob string types (CHAR, VARCHAR and LONG VARCHAR). To support pre 10.5 databases in soft upgrade mode, the Clob stream header gener...
[ { "file": "java/engine/org/apache/derby/iapi/types/StreamHeaderGenerator.java", "hunks": [ { "added": [ "/*", "", " Derby - Class org.apache.derby.iapi.types.StreamHeaderGenerator", "", " Licensed to the Apache Software Foundation (ASF) und...
derby-DERBY-3909-db8b20bd
DERBY-3909: Race condition in NetXAResource.removeXaresFromSameRMchain() Removed the code that had race conditions since the data structures it touched weren't actually used for anything. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@704904 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/NetConnection.java", "hunks": [ { "added": [], "header": "@@ -1753,9 +1753,6 @@ public class NetConnection extends org.apache.derby.client.am.Connection {", "removed": [ " if (xares_ != null) {", " ...
derby-DERBY-3917-52d76403
DERBY-3917; skip fixture testCurrentRoleInWeirdContexts and 1 test case in fixture testDefaultCurrentRole in lang.RolesConferredPrivilegesTest with JSR169. Patch contributed by Dag H. Wanvik. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@713533 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3922-d4f93087
DERBY-3922: Support for adding generated columns via ALTER TABLE. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@709152 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/UpdateNode.java", "hunks": [ { "added": [ "import java.util.HashSet;" ], "header": "@@ -81,6 +81,7 @@ import java.lang.reflect.Modifier;", "removed": [] }, { "added": [ " ...
derby-DERBY-3925-fc061da9
DERBY-3925 - testMetaDataQueryRunInSYScompilationSchema(.....upgradeTests.Changes10_4) fails on CVM/phoneME Use 'territory=en' instead of 'territory=no' if the 'no' locale is not available. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@823555 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3926-200a5ea7
DERBY-3926 Following is the patch description for DERBY-3926. The problem with the trunk codeline is that when optimizer goes through optimizables in a join order, it only looks at those optimizables individually to decide whether sorting can be avoided on them or not. That approach leaves out few queries which requi...
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/RequiredRowOrdering.java", "hunks": [ { "added": [ "import org.apache.derby.impl.sql.compile.PredicateList;" ], "header": "@@ -24,6 +24,7 @@ package org.apache.derby.iapi.sql.compile;", "removed": [] ...
derby-DERBY-3926-397f968f
DERBY-4331 Fixes a number of sort avoidance bugs that were introduced by the fix for DERBY-3926. This check in backs out the equi-join part of the DERBY-3926. The changes for this were isolated and were the only changes to FromBaseTable.java. Backing out only this part of the 3926 checkin fixes new problems ide...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java", "hunks": [ { "added": [], "header": "@@ -462,13 +462,6 @@ public class FromBaseTable extends FromTable", "removed": [ "\t\t\t\t\t//Check if the order by column has equijoin on another ", ...
derby-DERBY-3926-8f4810aa
DERBY-3926 Tars Joris contributed a new reproducible script(test-script.zip) which has been granted to ASF for inclusion. I changed the junit test which I added last week to be based on this new script. The changes involved were data change only. The actual test cases in the junit test did not require any changes. ...
[]
derby-DERBY-3931-31887565
DERBY-3931: Make generated columns tests independent so that they will run smoothly on platforms which run the test cases in reverse alphabetical order. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@709161 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3932-9a9b9326
DERBY-3932: Add basic tests of permissions on generated columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@713158 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3934-4987173e
DERBY-3934: Removed unused method 'readUnsignedShort' from UTF8Reader. Patch file: derby-3934-6a-UTF8Reader_remove_method.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@742380 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/UTF8Reader.java", "hunks": [ { "added": [], "header": "@@ -592,25 +592,6 @@ readChars:", "removed": [ " /**", " * Decode the length encoded in the stream.", " * ", " * This ...
derby-DERBY-3934-71dca8c7
DERBY-3934: Improve performance of reading modified Clobs. There are two major changes with this patch: a) The implementation of getInternalReader improves the performance of getSubString significantly. This benefits the embedded driver too, but it is crucial for the performance of all read operations on Clob ...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/TemporaryClob.java", "hunks": [ { "added": [ "import java.io.FilterReader;" ], "header": "@@ -24,6 +24,7 @@ package org.apache.derby.impl.jdbc;", "removed": [] }, { "added": [ "imp...
derby-DERBY-3934-910b77f0
DERBY-3934 (partial): Improve performance of reading modified Clobs. The following files are touched (all in derby.impl.jdbc): *** EmbedClob. Updated call to ClobUpdatableReader. The change of the position argument is intentional. *** TemporaryClob Replaced the ClobUpdatableReader returned by getReader with a UTF8R...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/StoreStreamClob.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.jdbc.CharacterStreamDescriptor;" ], "header": "@@ -32,6 +32,7 @@ import java.io.Writer;", "removed": [] }, { "add...
derby-DERBY-3934-9b9c25ad
DERBY-3934: Added two tests for Clob modifications (character replacement). Patch file: derby-3934-1a-clob_replace_test.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@720767 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3934-a694c19f
DERBY-3934: Improve performance of reading modified Clobs. Removed deprecated constructor and adjusted calling code. Patch file: derby-3934-5a-UTF8Reader_cleanup.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@736000 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement20.java", "hunks": [ { "added": [], "header": "@@ -35,7 +35,6 @@ import java.sql.Blob;", "removed": [ "import java.net.URL;" ] }, { "added": [ "import org.apa...
derby-DERBY-3934-d9319b8e
DERBY-3934: Improve performance of reading modified Clobs. Added two new methods to InternalClob; - getUpdateCount - isReleased These methods can be used to detect if the contents have been changed, for instance by streams reading from the internal Clob representation. Patch file: derby-3934-2a-intclob_new_meth...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/InternalClob.java", "hunks": [ { "added": [ " /**", " * Returns the update count of the Clob.", " * <p>", " * The update count is increased each time a modification of the Clob", ...
derby-DERBY-3941-081a08c2
DERBY-3941: Clean up import statements in StoredPage Contributed by Yun Lee. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@765943 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java", "hunks": [ { "added": [ "import java.io.ByteArrayInputStream;", "import java.io.ByteArrayOutputStream;", "import java.io.EOFException;", "import java.io.IOException;", ...
derby-DERBY-3941-a5d378d2
DERBY-3941: Unsafe use of DataInput.skipBytes() Replaced calls to DataInput.skipBytes() with new utility method DataInputUtil.skipFully(). Patch contributed by Yun Lee. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@766163 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/classfile/ClassInvestigator.java", "hunks": [ { "added": [ "import java.io.IOException;", "import java.util.Collections;", "", "import org.apache.derby.iapi.services.io.DataInputUtil;" ], ...
derby-DERBY-3944-06ac9fb4
DERBY-3944: Always compile CHECK constraints in the schema of the target table. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@964402 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/DMLModStatementNode.java", "hunks": [ { "added": [ " CompilerContext compilerContext = getCompilerContext();", " ", "\t\tcompilerContext.pushCurrentPrivType( Authorizer.NULL_PRIV);" ], ...
derby-DERBY-3945-01aa1762
DERBY-3945: Resolve unqualified function names in generation clauses against the current schema from DDL rather than DML time. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@719123 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/catalog/types/DefaultInfoImpl.java", "hunks": [ { "added": [ " private String originalCurrentSchema;" ], "header": "@@ -56,6 +56,7 @@ public class DefaultInfoImpl implements DefaultInfo, Formatable", ...
derby-DERBY-3947-e594ab0b
DERBY-3947: Cannot insert 994 char string into indexed column A table created with "CREATE TABLE t (x varchar(1000) primary key)" could encounter problems when a particularly long value of "x" was inserted, because the index that was automatically created to support the PRIMARY KEY constraint was created with a small ...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/TableElementList.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.reference.Property;", "import org.apache.derby.iapi.services.property.PropertyUtil;" ], "header": "@@ -25,6 +25,8 @@ import...
derby-DERBY-3948-6a17f800
DERBY-534: Support use of the WHEN clause in CREATE TRIGGER statements Reject references to generated columns in the NEW transition variables of BEFORE triggers, as required by the SQL standard. See also DERBY-3948. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1527489 13f79535-47bb-0310-9956-ffa45...
[]
derby-DERBY-3948-e7354480
DERBY-3948: Forbid references to generated columns in the NEW variable of BEFORE triggers. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@718707 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateTriggerNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.dictionary.ColumnDescriptorList;" ], "header": "@@ -34,6 +34,7 @@ import org.apache.derby.iapi.sql.compile.CompilerContext;", ...
derby-DERBY-395-22ccbb42
DERBY-395 Server-side "trace on" and "trace off" commands do not appear to be working correctly. Contributed by Bryan Pendleton Attached is a proposed fix. derbyall passed. I put a small comment in the code. I didn't add any new tests, which is unfortunate, but I didn't have any brilliant inside about an easy way to...
[ { "file": "java/drda/org/apache/derby/impl/drda/ClientThread.java", "hunks": [ { "added": [], "header": "@@ -30,8 +30,6 @@ final class ClientThread extends Thread {", "removed": [ "\tprivate String traceDir;", "\tprivate boolean traceAll;" ] },...
derby-DERBY-3950-97a8b1c7
DERBY-3950: Prevent driving SELECTs from overriding the values of generated columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@718381 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ResultColumn.java", "hunks": [ { "added": [ " private boolean wasDefault;" ], "header": "@@ -88,6 +88,7 @@ public class ResultColumn extends ValueNode", "removed": [] }, { "added":...
derby-DERBY-3955-1b72b60b
DERBY-3955; test lang/selectivity.sql can be revived committing patch 3 - which adds the remaining test cases from selectivity.sql to SelectivityTest.java git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1560247 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3956-f9cb8886
DERBY-3956: Remove method TemplateRow.checkPartialColumnTypes Deleted the method, which always returned true and was only called from withing debug blocks (sane builds). Patch file: derby-3956-1a.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@719008 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/access/btree/BTreeScan.java", "hunks": [ { "added": [], "header": "@@ -1541,10 +1541,6 @@ public abstract class BTreeScan extends OpenBTree implements ScanManager", "removed": [ " ", " ...
derby-DERBY-3964-03972928
DERBY-3964: Fix NPE in evaluation of generated columns while processing an ON DELETE SET NULL referential action. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@722623 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/DMLModStatementNode.java", "hunks": [ { "added": [], "header": "@@ -575,7 +575,6 @@ abstract class DMLModStatementNode extends DMLStatementNode", "removed": [ " " ] }, ...
derby-DERBY-3966-99494f14
DERBY-3966: Make 1.4 JDK optional when building Derby. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@726092 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyPreBuild/PropertySetter.java", "hunks": [ { "added": [ " if ( j14lib != null ) { setClasspathFromLib(J14CLASSPATH, j14lib, true ); }", " if ( j15lib != null ) { setClasspathFromLib(J15CLASSPATH, j15lib, true ); }" ...
derby-DERBY-3969-b8b524c0
DERBY-3969: Fix NPEs when declaring constraints on generated columns without explicit datatypes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@723184 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ResultColumnList.java", "hunks": [ { "added": [ "\t{", " return getResultColumn( columnName, true );", "\t}", "", "\t/**", "\t * Get a ResultColumn that matches the speci...
derby-DERBY-3970-dd2650ff
DERBY-3970: PositionedStoreStream doesn't initialize itself properly. Makes PositionedStoreStream initialize itself properly by calling initStream and resetStream on the underlying Resetable. Patch file: derby-3970-1a-PositionedStoreStream_init.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@72...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedBlob.java", "hunks": [ { "added": [ " myStream = new PositionedStoreStream(dvdStream);" ], "header": "@@ -195,18 +195,8 @@ final class EmbedBlob extends ConnectionChild implements Blob, EngineLOB", ...
derby-DERBY-3972-7b9c4ca8
DERBY-3972; patch 3 modifies 2 tests to optionally take a property for a different initial context factory than sun's git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@741227 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3975-92941262
DERBY-3975: SELECT DISTINCT may return duplicates with territory-based collation Made the implementation of hashCode() in the collation-sensitive subclasses of SQLChar consistent with the collation-sensitive implementations of equals(), compareTo() and stringCompare(). Also extended CollationTest with tests for SELEC...
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLChar.java", "hunks": [ { "added": [ " if (SanityManager.DEBUG) {", " SanityManager.ASSERT(!(this instanceof CollationElementsInterface),", " \"SQLChar.hashCode() does not wo...
derby-DERBY-3977-4d20e641
DERBY-3977: Clob.truncate with a value greater than the Clob length raises different exceptions in embedded and client driver. Changed the exception thrown in the embedded driver when calling Clob.truncate with a length greater than the Clob length from XJ076 to XJ079 (see also release note). The client and the embedde...
[]
derby-DERBY-3978-a63282c4
DERBY-3978: Clob.truncate(long) in the client driver doesn't update the cached Clob length. Make the client driver update the length of the Clob when it has been truncated.Added a few tests. Patch file: derby-3978-1a-regression_tests.diff, derby-3978-2a-update_length.diff git-svn-id: https://svn.apache.org/repos/asf...
[]
derby-DERBY-3980-11850ac0
DERBY-3980 Conflicting select then update with REPEATABLE_READ gives lock timeout instead of deadlock Just javadoc changes and adding a new test for the issue that can't be enabled until we have a fix. This check-in does not fix the issue in any way. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk...
[ { "file": "java/engine/org/apache/derby/impl/services/locks/Deadlock.java", "hunks": [ { "added": [ "\t * Walk through the graph of all locks and search for cycles among", "\t * the waiting lock requests which would indicate a deadlock. A simple", "\t * deadlock c...
derby-DERBY-3980-e0699eac
DERBY-3980: Conflicting select then update with REPEATABLE_READ gives lock timeout instead of deadlock DERBY-5073: Derby deadlocks without recourse on simultaneous correlated subqueries Added more comments describing the deadlock detection algorithm. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@10...
[ { "file": "java/engine/org/apache/derby/impl/services/locks/Deadlock.java", "hunks": [ { "added": [ " * <p>", " * Code to support deadlock detection.", " * </p>", " *", " * <p>", " * This class implements deadlock detection by searchi...
derby-DERBY-3981-1aa5b64d
DERBY-3981: Improve distribution of hash codes in SQLBinary and SQLChar git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@731929 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLChar.java", "hunks": [ { "added": [ " /**", " * The pad character (space).", " */", " private static final char PAD = '\\u0020';", "" ], "header": "@@ -112,6 +1...
derby-DERBY-3981-dd584838
DERBY-3981: Improve distribution of hash codes in SQLBinary and SQLChar Added a performance test which shows the worst-case behaviour of the current hash function. The test performs SELECT DISTINCT on a CHAR(5) column and on a CHAR(5) FOR BIT DATA column. The current hash function maps all the rows in the test to the ...
[]
derby-DERBY-3982-daa4827a
DERBY-3982: Commit Ole's DERBY-3982_p2_diff.txt patch, which makes it easy to specify patch releases as starting points for the upgrade tests. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@728024 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3988-636e8e5f
DERBY-3988: Second attempt to always build the JDBC4 support when compiling Derby. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@728693 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyPreBuild/PropertySetter.java", "hunks": [ { "added": [ " private static final String J16LIB = \"j16lib\";", " private static final String J16CLASSPATH = \"java16compile.classpath\";" ], "header": "@@ -96,6 ...
derby-DERBY-3989-a8132ce4
DERBY-3989 / DERBY-4699 Made PropertySetter ignore Java 6 libraries if a Java 5 compiler is used. If j16lib is specified explicitly in such an environment, the build will be aborted (an error message will be displayed to the user). Patch file: derby-3989-02-aa-dontUseJava6LibsWithJava5Compiler.diff git-svn-id: http...
[ { "file": "java/build/org/apache/derbyPreBuild/PropertySetter.java", "hunks": [ { "added": [ " if ( j14lib != null ) {", " debug(\"'j14lib' explicitly set to '\" + j14lib + \"'\");", " setClasspathFromLib(J14CLASSPATH, j14l...
derby-DERBY-3989-d6b04208
DERBY-3989: Allow the build to succeed on machines which have a Java 6 environment but not a Java 5 environment. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@734242 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyPreBuild/PropertySetter.java", "hunks": [ { "added": [ " * <li>java16compile.classpath</li>" ], "header": "@@ -46,6 +46,7 @@ import org.apache.tools.ant.taskdefs.Property;", "removed": [] }, { "added": ...
derby-DERBY-3991-979d9e84
DERBY-3991: Clob.truncate(0) throws exception. Allows a Clob to be truncated to a length of zero characters (empty string). Patch contributed by Yun Lee <yun.lee.bj@gmail.com>. Patch file: derby-3991-3.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@764800 13f79535-47bb-0310-9956-ffa450edef68...
[]
derby-DERBY-3993-8d23f446
DERBY-3993 With IBM 1.6 T_RawStoreFactory fails with There should be 0 observers, but we still have 1 observers on Win 2K The problem will only show up in SANE builds as that is the only time we do the sanity check. Xact.doComplete() is called near the end of the transaction to take care of any cleanup prior to comm...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/DropOnCommit.java", "hunks": [ { "added": [ "", "\t\t\t\tSanityManager.THROWASSERT(\"still on observer list \" + this);", "\t\tif (arg.equals(RawTransaction.COMMIT) || ", " arg.equals...