id stringlengths 22 25 | commit_message stringlengths 137 6.96k | diffs listlengths 0 63 |
|---|---|---|
derby-DERBY-3425-08010c53 | DERBY-3425: J2EEDataSourceTest throws away stack trace for many errors
Preserve stack trace on error by throwing the original exception
instead of using fail() to report the error.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@628746 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3427-ce68ae05 | DERBY-3427: setting transaction isolation level to read committed raise ERROR X0X03: Invalid transaction state - held cursor requires same isolation level
Made the network server use the requested holdability when preparing calls.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634206 13f79535-47bb-... | [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAStatement.java",
"hunks": [
{
"added": [],
"header": "@@ -41,7 +41,6 @@ import java.lang.reflect.Array;",
"removed": [
"import org.apache.derby.iapi.jdbc.EngineConnection;"
]
},
{
"added":... |
derby-DERBY-3428-5a6acbff | DERBY-3428: Doing a replication failover should shutdown the database and the connection should no longer be available
The shutdown exception needs to be a StandardException in order to shut down the database (SQLException does not work)
After failove, unfreeze the database before trying shutdown.
Contributed by V Nara... | [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java",
"hunks": [
{
"added": [
" * @throws StandardException 1) If the failover succeeds, an exception is",
" * 2) If a failure occurs during network",
" * @thr... |
derby-DERBY-3430-a3203bfb | DERBY-3430 Inconsistency in JDBC autogen APIs between Connection.prepareStatement(...) and Statement.execute(...)
Change prepareStatement to treat empty arrays for columnNames or columnIndexes as NO_GENERATED_KEYS
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@629578 13f79535-47bb-0310-9956-ffa450... | [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java",
"hunks": [
{
"added": [
"\t\t\t(columnIndexes == null || columnIndexes.length == 0)"
],
"header": "@@ -1213,7 +1213,7 @@ public abstract class EmbedConnection implements EngineConnection",
... |
derby-DERBY-3431-7bceacaa | DERBY-3431: DatabaseMetaData.getConnection returns the wrong connection when using connection pooling.
Added another tests for this issue in DatabaseMetaDataTest.
Only the test for embedded is enabled, as the client driver has a bug.
Also note that the embedded driver has a related bug, but it is not exposed by this te... | [] |
derby-DERBY-3431-8594dfd3 | DERBY-3431: DatabaseMetaData.getConnection returns the wrong connection when using connection pooling.
Added a test case exposing the bug where DatabaseMetaData.getConnection returns a reference to a connection it should not publish.
Note that the test is disabled, because the bug is still at large.
Patch file: derby-3... | [] |
derby-DERBY-3431-ef81d0e4 | DERBY-3431: DatabaseMetaData.getConnection returns the wrong connection when using connection pooling.
Introduced a logical database metadata object in the client driver. This object is tightly associated with the logical connection, instead of the underlying physical connection. It will only publish a reference to the... | [
{
"file": "java/client/org/apache/derby/client/am/LogicalConnection.java",
"hunks": [
{
"added": [
" /**",
" * Logical database metadata object created on demand and then cached.",
" * The lifetime of the metadata object is the same as this logical",
... |
derby-DERBY-3432-1bac3f3a | DERBY-3432: Move replication code from org.apache.derby.impl.services.replication to o.a.d.i.store.replication
Contributed by Jorgen Loland.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634706 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/store/replication/master/MasterFactory.java",
"hunks": [
{
"added": [
" org.apache.derby.iapi.store.replication.master.MasterFactory"
],
"header": "@@ -1,7 +1,7 @@",
"removed": [
" org.apache.derby.iap... |
derby-DERBY-3438-89e0c080 | DERBY-3438: Allow SQL query text to be null in StatementKey.
Patch file: derby-3438-1a-allow_sql_null.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@631217 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/stmtcache/StatementKey.java",
"hunks": [
{
"added": [
" * @throws IllegalArgumentException if {@code schema} is {@code null}",
" if (schema == null) {",
" throw new IllegalArgumentException(\"... |
derby-DERBY-3446-142b9afe | DERBY-3446: Make ResultSet.getStatement return the correct statement when created by a logical statement.
Made LogicalStatementEntity constructor set itself as the statement owner in am.Statement, and ResultSet return the owner of the creating statement if set. If not set, the statement itself will be returned (as befo... | [
{
"file": "java/client/org/apache/derby/client/am/LogicalStatementEntity.java",
"hunks": [
{
"added": [
"abstract class LogicalStatementEntity",
" implements java.sql.Statement {"
],
"header": "@@ -46,7 +46,8 @@ import org.apache.derby.shared.common.s... |
derby-DERBY-3446-d798bb11 | DERBY-3446: Make ResultSet.getStatement return the correct statement when created by a logical statement.
Added regression test for the bug in JDBC statement caching environments.
Patch file: derby-3446-3a-stmtpool_test.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@673327 13f79535-47bb-0310-99... | [] |
derby-DERBY-3448-04014b20 | DERBY-3448 - backing out revision 636829, it doesn't actually build.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@636892 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/system/mailjdbc/utils/DbTasks.java",
"hunks": [
{
"added": [
"import java.util.Properties;"
],
"header": "@@ -37,6 +37,7 @@ import java.sql.SQLException;",
"removed": []
},
{
"added": [
... |
derby-DERBY-3448-58a99b78 | DERBY-3448 ; adjusting re-setting of auto-commit state and isolation level.
Reinstating modifications of revision 636829, plus additional changes to
enable build.
Patch contributed by Manjula Kutty.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@638077 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/system/mailjdbc/tasks/Backup.java",
"hunks": [
{
"added": [
"public class Backup extends Thread{",
"\tprivate Connection conn = null;",
"\t",
"\tpublic Backup(String name)throws Exception{",
"\t\t... |
derby-DERBY-3448-63e167ec | DERBY-3448 : adjusting re-setting of auto-commit state and isolation level.
Patch contributed by Manjula Kutty.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@636829 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/system/mailjdbc/utils/DbTasks.java",
"hunks": [
{
"added": [],
"header": "@@ -37,7 +37,6 @@ import java.sql.SQLException;",
"removed": [
"import java.util.Properties;"
]
},
{
"added": [],
... |
derby-DERBY-3448-cae4ed4f | DERBY-3448 Minor cleanup of DbTasks class
- no need to implement Thread since it is never used as a thread
- don't set system property for authorization as it is set in the required derby.properties
- fix mt issue for getting connections (remove shared properties object)
- don't have if != null checks for objects ... | [
{
"file": "java/testing/org/apache/derbyTesting/system/mailjdbc/utils/DbTasks.java",
"hunks": [
{
"added": [
"public class DbTasks {"
],
"header": "@@ -44,7 +44,7 @@ import org.apache.derbyTesting.functionTests.util.streams.LoopingAlphabetReader;",
"removed": ... |
derby-DERBY-3454-c085d07b | DERBY-3454:All the public methods of ReplicationMessageTransmit and ReplicationMessageReceive should
ensure that the socket connection exists (is not null) before performing the respective operations.
Contributed by V Narayanan
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@633026 13f79535-47bb-03... | [
{
"file": "java/engine/org/apache/derby/impl/services/replication/net/ReplicationMessageReceive.java",
"hunks": [
{
"added": [
" sendMessage(ack);"
],
"header": "@@ -236,7 +236,7 @@ public class ReplicationMessageReceive {",
"removed": [
"... |
derby-DERBY-3457-77a3bd13 | DERBY-3457: Closing a logical connection must close all associated logical statements.
Patch file: derby-3457-1c-stmt_closing.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632112 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/LogicalStatementEntity.java",
"hunks": [
{
"added": [
" /** The owner of this logical entity. */",
" private StatementCacheInteractor owner;"
],
"header": "@@ -71,6 +71,8 @@ abstract class LogicalStatem... |
derby-DERBY-3457-8a0018d2 | DERBY-3457 (partial): Closing a caching logical connection must close all associated logical statements.
This partial patch adds a list of open logical statements in SCI. The logic for maintaining the list when statements are closed, and for closing remaining open statements when the caching logical connection is close... | [
{
"file": "java/client/org/apache/derby/client/am/StatementCacheInteractor.java",
"hunks": [
{
"added": [
"import java.util.ArrayList;",
"",
"import org.apache.derby.shared.common.sanity.SanityManager;"
],
"header": "@@ -4,10 +4,13 @@ import java.s... |
derby-DERBY-3458-cd8191c8 | DERBY-3458
Patch submitted by Stephan van Loendersloot. dblook should set the current schema to be
a system schema so that collation of system schema (UCS_BASIC) gets used when dealing
with queries using system table columns and character constants. Stephan has also
provided comprehensive test for the dblook code chan... | [
{
"file": "java/tools/org/apache/derby/tools/dblook.java",
"hunks": [
{
"added": [
"\t\t// Set the system schema to ensure that UCS_BASIC collation is used.",
"\t\tStatement stmt = conn.createStatement();",
"\t\tstmt.executeUpdate(\"SET SCHEMA SYS\");",
... |
derby-DERBY-3461-e8aba825 | DERBY-3461 The class EmbedSQLWarning is really an SQLWarning factory class. Therefore, it has been renamed to SQLWarningFactory.
The unused method generateCsSQLWarning() has been removed.
The remaining methods have been renamed to remove the reference to 'Embed'.
Since the re-factored class is generic, it has been move... | [
{
"file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java",
"hunks": [
{
"added": [],
"header": "@@ -30,7 +30,6 @@ import java.sql.DatabaseMetaData;",
"removed": [
"import org.apache.derby.impl.jdbc.EmbedSQLWarning;"
]
},
{
... |
derby-DERBY-3465-9dc398ab | DERBY-3465: Removed a number of try-catch clauses that caught exceptions and printed a generic message without any information about the exception itself.
Patch file: derby-3465-1a-remove_try_catch.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@631286 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3472-8dd309eb | DERBY-3472: Move the mf.workToDo call outside the synchronized block to avoid deadlocks.
Contributed by Jorgen Loland
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@633063 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/services/replication/buffer/ReplicationLogBuffer.java",
"hunks": [
{
"added": [
" * ",
" * Important: If methods in this class calls methods outside this package",
" * (e.g. MasterFactory#workToDo), make sure that deadl... |
derby-DERBY-3478-edeac317 | DERBY-3478 Simple column names specified as part of "AS" clause in a table expression are ignored if the table expression is a view.
Patch DERBY-3478 fixes this issue and adds a new test case.
The fix adds a call to propagateDCLInfo also for views in
FromBaseTable.bindNonVTITables which seems to have been always
miss... | [] |
derby-DERBY-3484-1a4ea31f | DERBY-3484 For JDBC 3.0 java.sql.Types constants use directly instead of through JDBC30Translation as JSR169 supports all the types
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632413 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/Types.java",
"hunks": [
{
"added": [],
"header": "@@ -21,7 +21,6 @@",
"removed": [
"import org.apache.derby.iapi.reference.JDBC30Translation;"
]
}
]
},
{
"file": "java/drda/org/apache/derby/im... |
derby-DERBY-3484-1e8a20fb | DERBY-3484 For JDBC 2.0/3.0 java.sql.ResultSet constants use directly instead of through JDBC[2,3]0Translation as JSR169 supports all the types
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632456 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/Connection.java",
"hunks": [
{
"added": [],
"header": "@@ -23,7 +23,6 @@ package org.apache.derby.client.am;",
"removed": [
"import org.apache.derby.shared.common.reference.JDBC30Translation;"
]
},
... |
derby-DERBY-3484-a0118e1c | DERBY-3484 For JDBC 3.0 java.sql.Statement constants use directly instead of through JDBC30Translation as JSR169 supports all the types
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632414 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement.java",
"hunks": [
{
"added": [
"import java.sql.Statement;"
],
"header": "@@ -37,6 +37,7 @@ import java.sql.CallableStatement;",
"removed": []
}
]
},
{
"file": "java/eng... |
derby-DERBY-3489-f2ec1d8c | DERBY-3489: Error message XRE04 does not include the right port number.
Contributed by V Narayanan
* java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
The constructor has been modified to accept the SlaveAddress object instead of a host name
and port number as was happening previo... | [
{
"file": "java/engine/org/apache/derby/impl/store/replication/master/MasterController.java",
"hunks": [
{
"added": [
"import java.net.UnknownHostException;"
],
"header": "@@ -24,6 +24,7 @@ package org.apache.derby.impl.store.replication.master;",
"removed": [... |
derby-DERBY-349-1f3d2714 | DERBY-349: Re-enable parameterMapping batch tests for DerbyNetClient
Due to bug DERBY-349, the parameterMapping tests of various data types
in the executeBatch() configuration had been disabled, because those
tests were hanging. The tests are no longer hanging, so this submission
re-enables the tests.
This change als... | [] |
derby-DERBY-3491-356ff6fc | DERBY-3462 DERBY-3491
Add permission checks for SystemPermission("server", "monitor" | "control") to NetworkServerMBean.
Fix SystemPermission's handling of multiple actions and add tests.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@636878 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/mbeans/drda/NetworkServerMBean.java",
"hunks": [
{
"added": [
" * @see org.apache.derby.security.SystemPermission"
],
"header": "@@ -31,7 +31,7 @@ package org.apache.derby.mbeans.drda;",
"removed": [
" *"
... |
derby-DERBY-3491-59176943 | DERBY-3491 Change Derby's SystemPermission to be a two argument permission with:
target-name: jmx|server|engine
action: control|monitor|shutdown
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@636435 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/security/SystemPermission.java",
"hunks": [
{
"added": [
"import java.security.Permission;",
"import java.util.ArrayList;",
"import java.util.List;",
"import java.util.Locale;",
"import java.util.Set;",
... |
derby-DERBY-3493-f30ee415 | DERBY-2911: Implement a buffer manager using java.util.concurrent classes
DERBY-3493: stress.multi times out waiting on testers with blocked testers waiting on the same statement
Changed ConcurrentCache.create() to match Clock.create() more closely.
The patch basically makes ConcurrentCache.create() use
ConcurrentHas... | [
{
"file": "java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java",
"hunks": [
{
"added": [
" * Insert a {@code CacheEntry} into a free slot in the {@code",
" * ReplacementPolicy}'s internal data structure, and return a {@code",
" * Cach... |
derby-DERBY-3494-860148c2 | DERBY-3494 Move the setup of NormalizeResultSetNode into the NormalizeResultSetNode
Removes ResultSetColumList.copyLengthsAndTypesToSource() and incorporate into the NormalizeResultSetNode init method.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@643644 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/NormalizeResultSetNode.java",
"hunks": [
{
"added": [
" * @param targetResultColumnList The target resultColumnList from ",
" * the InsertNode or UpdateNode. These will",
" ... |
derby-DERBY-3494-c6564415 | DERBY-3597 Incorporate DERBY-3310 and DERBY-3494 write-ups into NormalizeResultSetNode code comments.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@645638 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/NormalizeResultSetNode.java",
"hunks": [
{
"added": [
" *",
" * child result set that needs one. See non-javadoc comments for ",
" * a walk-through of a couple sample code paths.",
" */",
... |
derby-DERBY-3496-4c8f5703 | DERBY-3496: CallableStatement with output parameter leaves cursor open after execution
Patch file: derby-3496.diff (fixed the indentation problem)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@640787 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3502-477fd5e2 | DERBY-3502: Ensure that conglomerate sharing works correctly in the
presence of unique constraints over nullable columns.
Contributed by: Anurag Shekhar (anurag dot shekhar at sun dot com)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634852 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConglomerateDescriptor.java",
"hunks": [
{
"added": [
"\t\t\t\t(indexRowGenerator.isUnique() && !othersIRG.isUnique()) ||",
"\t\t\t\t\t(indexRowGenerator.isUniqueWithDuplicateNulls() && ",
"\t\t\t\t\t\t!o... |
derby-DERBY-3504-a63ab5e5 | DERBY-3504 Fix timeout errors in management._Suite when running with classes. Was due to the spawned vm to execute the server failing as installing the policy file requires jars. Changed the decorator to add the -noSecurityManager flag if classes is being used with comments indicating if tests need a different behaviou... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java",
"hunks": [
{
"added": [
"import java.io.IOException;",
"import java.security.PrivilegedActionException;",
"import java.security.PrivilegedExceptionAction;"
],
"head... |
derby-DERBY-3509-8971c8b7 | DERBY-3509: The replication log shipper is not notified when a new replication transmitter is instantiated in MC#handleException.
- Modified the handleException method to return the transmitter object that is created.
- The log shipper bases its decision on whether it should continue with the log shipping based on if... | [
{
"file": "java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java",
"hunks": [
{
"added": [
" private ReplicationMessageTransmit transmitter;"
],
"header": "@@ -66,7 +66,7 @@ public class AsynchronousLogShipper extends Thread impleme... |
derby-DERBY-3514-740feb0a | DERBY-3514 Ensure that the client socket used for network server commands is closed if the command throws an exception.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634865 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java",
"hunks": [
{
"added": [
" "
],
"header": "@@ -760,7 +760,7 @@ public final class NetworkServerControlImpl {",
"removed": [
""
]
},
{
"a... |
derby-DERBY-3519-33efbae6 | DERBY-3519: junit regression test failure in testInertTime(org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest)junit.framework.AssertionFailedError: expected:<2> but was:<3>
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464386 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3520-86be795f | DERBY-3520 Convert views.sql to JUnit
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@635964 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3523-09828472 | DERBY-3523 sql states (X0Y63, X0Y63, X0Y63.S) related to nulls in unique constraints are associated with wrong message texts
Add upgrade test to verify messages are the same when created with 10.3 and
with soft upgrade.
Contributed by Anurag Shekhar (anurag dot shekhar at sun dot com)
git-svn-id: https://svn.apa... | [] |
derby-DERBY-3523-5915e886 | Back out upgrade test change for DERBY-3523. It was causing failures in the
tinderbox run.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@641615 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3523-a8edfcf1 | DERBY-3523 sql states (X0Y63, X0Y63, X0Y63.S) related to nulls in unique constraints are associated with wrong message texts
add upgrade tests. Contributed by Anurag Shekhar (anurag dot shekhar at sun dot com)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@641911 13f79535-47bb-0310-9956-ffa450ede... | [] |
derby-DERBY-3525-3be5c9d7 | DERBY-3525 Remove unneeded code to get JDBC level in BrokeredConnection and BrokeredStatement classes
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@636753 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java",
"hunks": [
{
"added": [
"\t\treturn new BrokeredStatement(statementControl);"
],
"header": "@@ -447,7 +447,7 @@ public abstract class BrokeredConnection implements EngineConnection",
"... |
derby-DERBY-3526-d18f3385 | DERBY-3526: AsynchronousLogShipper#workToDo is blocked while the log shipper sends a log chunk
Use a different object to synchronize on while calling wait and notifying the log shipper thread.
Contributed by V Narayanan
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@642184 13f79535-47bb-0310-9956-ffa... | [
{
"file": "java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java",
"hunks": [
{
"added": [
" /**",
" * Object used to synchronize on while the log shipper thread",
" * is moved into the wait state, or while notifying it.... |
derby-DERBY-3527-c283bcdc | DERBY-3527: The slave will not notice that a network cable is unplugged and will therefore reject failover/stopSlave commands
Checks if the network connection is up by sending a ping message from the slave to the master.
The shipment of the message has to happen in a separate thread because TCP timeout for send messag... | [
{
"file": "java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java",
"hunks": [
{
"added": [
" int buffers = ReplicationLogBuffer.DEFAULT_NUMBER_LOG_BUFFERS;"
],
"header": "@@ -417,7 +417,7 @@ public class AsynchronousLogShipper e... |
derby-DERBY-353-55b25e3e | DERBY-353: Return last user specified value for IDENTITY BY DEFAULT columns. The fix changed:
a) Inside the InsertResultSet class getSetAutoincrementValue function the Data Dictionary is accessed to get the current identity value. Which is then updated in the identityVal variable which is then used by the identity_val... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/InsertResultSet.java",
"hunks": [
{
"added": [],
"header": "@@ -178,7 +178,6 @@ public class InsertResultSet extends DMLWriteResultSet implements TargetResultSe",
"removed": [
""
]
},
{
... |
derby-DERBY-3536-b2fb1d5d | DERBY-3536: Fix casting of DECIMALs in TableFunctions on J2ME platforms.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@639428 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/VTIResultSet.java",
"hunks": [
{
"added": [
" else if ( typeID.isDecimalTypeId() ) { castDecimal( dtd, dvd ); }"
],
"header": "@@ -718,6 +718,7 @@ class VTIResultSet extends NoPutResultSetImpl",
... |
derby-DERBY-3542-9f61c8b3 | DERBY-3543: NetworkServerControl with options but no command does not give usage message.
Patch contributed by Martin Zaun
Patch file: DERBY-3542-1.diff (wrong name, correct file)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@649381 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java",
"hunks": [
{
"added": [
" int command = findCommand(args);",
" if (command == COMMAND_UNKNOWN)",
" consolePropertyMessage(\"DRDA_NoCommand.U\");"
],
... |
derby-DERBY-3543-9f61c8b3 | DERBY-3543: NetworkServerControl with options but no command does not give usage message.
Patch contributed by Martin Zaun
Patch file: DERBY-3542-1.diff (wrong name, correct file)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@649381 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java",
"hunks": [
{
"added": [
" int command = findCommand(args);",
" if (command == COMMAND_UNKNOWN)",
" consolePropertyMessage(\"DRDA_NoCommand.U\");"
],
... |
derby-DERBY-3544-c5d78768 | DERBY-3544 If the network server fails to shutdown in NetworkServerTestSetup.teardown() then destory the process if it was run as a spearate jvm. Otherwise a chance of a hang existed when the executing the wait for on the process object.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@639433 13f79535-... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java",
"hunks": [
{
"added": [
" Throwable failedShutdown = null;",
" failedShutdown = t;"
],
"header": "@@ -369,13 +369,14 @@ final public class Netwo... |
derby-DERBY-3548-ce9c46e9 | DERBY-3548 Change SystemPrivilegesPermissionTest to only perform the fixture that tests using Subject if that class is available on the current virtual machine. Allows the test to pass and run useful fixtures in J2ME/CDC/Foundation 1.1
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@639059 13f79535-47... | [] |
derby-DERBY-3549-7a6650c3 | DERBY-3549: Unable to start slave mode after authentication failure on a previous startSlave attempt
Unboot database if startslave command fails on authentication.
Contributed by Jorgen Loland
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@642219 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java",
"hunks": [
{
"added": [
" // Set to true if startSlave command is attempted on an",
" // already booted database. Will raise an exception when",
" // credenti... |
derby-DERBY-3554-c6d09729 | DERBY-3554 Change Collation test to run DatabaseMetaDataTest, BatchUpdateTest,GroupByExpressionTest, and UpdateableResultSetTest for only one locale
Contributed by Suran Jayathilaka (suranjay at gmail dot com)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@640982 13f79535-47bb-0310-9956-ffa450edef6... | [] |
derby-DERBY-3562-a292c89b | DERBY-3562: Delete unnecessary, old log files on the slave when a checkpoint is encountered in the log received from the master.
Contributed by Jorgen Loland
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@643336 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/log/LogToFile.java",
"hunks": [
{
"added": [
"\t\tif ((firstLogNeeded = getFirstLogNeeded(checkpoint))==-1)",
"\t\t\treturn;",
"\t\ttruncateLog(firstLogNeeded);",
"\t}",
"\t/** Get rid of o... |
derby-DERBY-3566-419210d9 | DERBY-3566 Alter column set data type not allowed in soft upgrade mode with unique constraint.
Contributed by Anurag Shekhar (anurag dot shekhar at sun dot com)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@642420 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3567-0c97a104 | DERBY-3567: Makes ALS#forceFlush time out after 5 seconds if not able to send message.
Contributed by Jorgen Loland with modifications by Oystein Grovlen
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@644716 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java",
"hunks": [
{
"added": [
" private volatile boolean stopShipping = false;"
],
"header": "@@ -99,7 +99,7 @@ public class AsynchronousLogShipper extends Thread implemen... |
derby-DERBY-3570-fba255cd | DERBY-3570: Add ability to declare DETERMINISTIC routines.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@701367 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3571-f55d30a1 | DERBY-3571: LOB locators are not released if the LOB columns are not accessed by the client.
Added a release mechanism for LOBs. The client will keep track of locators and release them when the result set position is changed, or the result set closed. Locators are released one by one with individual stored procedure ca... | [
{
"file": "java/client/org/apache/derby/client/am/ResultSet.java",
"hunks": [
{
"added": [
"import org.apache.derby.shared.common.sanity.SanityManager;"
],
"header": "@@ -28,6 +28,7 @@ import java.sql.SQLException;",
"removed": []
},
{
"add... |
derby-DERBY-3574-66a98185 | DERBY-3574: Clean up whitespace problems introduced in revision 647931
(trailing whitespace, extra blank lines, mixing tabs and spaces on the
same line)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@648180 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/Blob.java",
"hunks": [
{
"added": [
""
],
"header": "@@ -29,9 +29,7 @@ import java.sql.SQLException;",
"removed": [
" ",
" ",
" "
]
},
{
"added... |
derby-DERBY-3574-80555116 | DERBY-3574 With client, attempting to get the lob length after commit or connection close if there was a call to length() before commit does not throw an exception
Contributed by Tiago R. Espinha (tiago at espinhas dot net)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@647931 13f79535-47bb-0310-9... | [
{
"file": "java/client/org/apache/derby/client/am/Blob.java",
"hunks": [
{
"added": [
" "
],
"header": "@@ -30,9 +30,7 @@ import org.apache.derby.shared.common.reference.SQLState;",
"removed": [
" //This boolean variable indicates whether the B... |
derby-DERBY-3574-b905a171 | DERBY-3574 With client, attempting to get the lob length after commit or connection close if there was a call to length() before commit does not throw an exception
Add test for connection closed case.
Contributed by Tiago R. Espinha (tiago at espinhas dot net)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/c... | [] |
derby-DERBY-3580-10cd9408 | DERBY-3580: Remove unused method Connection.resetConnection(LogWriter, String, Properties).
Patch file: derby-3580-1a-remove-method.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@642726 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/Connection.java",
"hunks": [
{
"added": [],
"header": "@@ -308,37 +308,6 @@ public abstract class Connection implements java.sql.Connection,",
"removed": [
" protected void resetConnection(LogWriter logWriter,",
... |
derby-DERBY-3581-080c38f3 | DERBY-3581 (partial): Changing certain properties on client DataSource objects causes existing connections to reflect the new values.
First iteration of code removal / refactoring.
Patch file: derby-3581-1a-remove_user_password_iteration1.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@648280 13... | [
{
"file": "java/client/org/apache/derby/client/ClientPooledConnection.java",
"hunks": [
{
"added": [],
"header": "@@ -69,8 +69,6 @@ public class ClientPooledConnection implements javax.sql.PooledConnection {",
"removed": [
" private String user_;",
" p... |
derby-DERBY-3581-bbc2fd8f | DERBY-3581: Changing certain properties on client DataSource objects causes existing connections to reflect the new values.
Removed a boolean flag that was only set to true and used in only one place.
The meaning/use of the flag was also invalid, as new logical connections should not "recompute" its properties from the... | [
{
"file": "java/client/org/apache/derby/client/am/Connection.java",
"hunks": [
{
"added": [
" protected void resetConnection(LogWriter logWriter)",
" throws SqlException {",
" // property encryptionManager_",
" // if needed th... |
derby-DERBY-3581-ea141d7c | DERBY-3581 (partial): Changing certain properties on client DataSource objects causes existing connections to reflect the new values.
Removed data source reference from ClientPooledConnection, and also removed usage of "the new datasource reference" (new as in passed in from CPC) in Connection/NetConnection.
Patch file... | [
{
"file": "java/client/org/apache/derby/client/ClientPooledConnection.java",
"hunks": [
{
"added": [],
"header": "@@ -67,9 +67,6 @@ public class ClientPooledConnection implements javax.sql.PooledConnection {",
"removed": [
" // Cached stuff from constructor",
... |
derby-DERBY-3582-4848ae56 | DERBY-3582: IndexOutOfBoundsError in ClockPolicy.moveHand
Make sure moveHand() and rotateClock() work if the clock is empty.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@643870 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/services/cache/ClockPolicy.java",
"hunks": [
{
"added": [
" * @return the holder under the clock hand, or {@code null} if the clock is",
" * empty",
" if (clock.isEmpty()) {",
" ... |
derby-DERBY-3586-f5e51e93 | DERBY-3586: Remove am.Connection.reset(LogWriter,ClientBaseDataSource,boolean) and called methods.
Removal of unused code in the client driver.
Patch file: derby-3586-1a-connection_reset3_removal.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@643789 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/Connection.java",
"hunks": [
{
"added": [],
"header": "@@ -2098,21 +2098,6 @@ public abstract class Connection implements java.sql.Connection,",
"removed": [
" synchronized public void reset(LogWriter logWriter, Cli... |
derby-DERBY-3589-1dbc0b85 | DERBY-3589: AllocPage.createPage() doesn't initialize minimumRecordSize correctly
Use an object with named fields (PageCreationArgs) instead of an array
to pass in arguments when creating a new page. This resolves the
problem with StoredPage and AllocPage expecting the same field to be
found on different positions in ... | [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/AllocPage.java",
"hunks": [
{
"added": [
"\tprotected void createPage(PageKey newIdentity, PageCreationArgs args)",
"\t\tborrowedSpace = args.containerInfoSize;"
],
"header": "@@ -270,22 +270,13 @@ ... |
derby-DERBY-3595-51345f15 | DERBY-3595: Make stack checking smarter in TableFunctionTest.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@652092 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3596-98ead91e | DERBY-3596: Creation of logical connections from a pooled connection causes resource leak on the server.
Exposed method 'resetFromPool' through EngineConnection.
The network server now detects when a client is requesting new logical connectio
ns. This triggers some special logic, where the physical connection on the se... | [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java",
"hunks": [
{
"added": [
" /**",
" * Tells if the reset / connect request is a deferred request.",
" * This information is used to work around a bug (DERBY-3596) in a",
" ... |
derby-DERBY-3596-f2a8f001 | DERBY-3596: Test cleanup only.
Renamed test (added the word 'Physical'), added a missing fail(), changed some comments and added a constant for a SQL statement used multiple times.
Patch file: derby-3596-3a-test_cleanup.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@660165 13f79535-47bb-0310-99... | [] |
derby-DERBY-3597-c6564415 | DERBY-3597 Incorporate DERBY-3310 and DERBY-3494 write-ups into NormalizeResultSetNode code comments.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@645638 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/NormalizeResultSetNode.java",
"hunks": [
{
"added": [
" *",
" * child result set that needs one. See non-javadoc comments for ",
" * a walk-through of a couple sample code paths.",
" */",
... |
derby-DERBY-3601-20276f1e | DERBY-3601: Optimize LOBStateTracker for non-locator servers.
From the Jira comment (improvements implemented);
- LOBStateTracker.checkCurrentRow(): couldn't Arrays.fill() be moved inside the if block?
- should discardState() and markAccessed() check the release flag?
- should ResultSet.createLOBColumnTracker() u... | [
{
"file": "java/client/org/apache/derby/client/am/LOBStateTracker.java",
"hunks": [
{
"added": [
" // Reset state for the next row.",
" Arrays.fill(this.published, false);"
],
"header": "@@ -130,9 +130,9 @@ class LOBStateTracker {",
... |
derby-DERBY-3601-3b248981 | DERBY-3601: Optimize LOBStateTracker for non-locator servers.
Cleanup patch changing comments and code naming. No functional changes.
Patch file: derby-3601-1a-comments_and_renaming.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@690133 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/LOBStateTracker.java",
"hunks": [
{
"added": [
" * An object that tracks the state of large objects (LOBs) for the current row",
" * in a result set.",
" * A LOB's state is either unpublished or published. When a L... |
derby-DERBY-3603-aebcea3f | DERBY-3603: 'IN' clause ignores valid results.
Patch contributed by A B (qozinx at gmail dot com)
Some queries using multi-valued IN clauses were not returning the right
results. An example of a query which was processed incorrectly is:
select count(*) FROM spike.accounts account, spike.admin_units admin_unit,
... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/MultiProbeTableScanResultSet.java",
"hunks": [
{
"added": [
" reopenCore(false);",
" }",
"",
" /**",
" * There are two scenarios for which we reopen this kind of scan:",
... |
derby-DERBY-361-bd541987 | DERBY-361 fix.
Needed to force a checkpoint before compress, otherwise during crash recovery
it was possible to redo a page that no longer existed in the file because
of compress. This fix adds a number of recovery crash and transaction
abort tests specific to compress into the storerecovery test suite.
git-svn... | [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/FileContainer.java",
"hunks": [
{
"added": [
" // make sure we don't execute redo recovery on any page",
" // which is getting truncated. At this point we have an exclusive",
" // ta... |
derby-DERBY-3613-83412958 | DERBY-3613: SELECT DISTINCT with GROUP BY produces wrong results
Certain combinations of DISTINCT and GROUP BY in the same query were
producing incorrect results. Duplicate rows were appearing in the
results because the query was including all of the GROUP BY columns
in the evaluation of the DISTINCT clause, not just ... | [] |
derby-DERBY-3616-26d0c8ed | DERBY-3616: Devise a platform-independent encoding for passing the Table Function signature from the compiler to the execution machinery.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@648232 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatIdUtil.java",
"hunks": [
{
"added": [
"\tprivate\tstatic\tfinal\tint\t\tBYTE_MASK = 0xFF;",
"\tprivate\tstatic\tfinal\tint\t\tNIBBLE_MASK = 0xF;",
"\tprivate\tstatic\tfinal\tint\t\tNIBBLE_SHIFT = 4;",
... |
derby-DERBY-3616-47e1295b | DERBY-3616: TableFunctionTest fails under Ubuntu 7.10
Removed all encoding/decoding of the table function's return type and
instead stored it directly as a saved object in the compiled plan.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@649007 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatIdUtil.java",
"hunks": [
{
"added": [],
"header": "@@ -48,10 +48,6 @@ import java.io.IOException;",
"removed": [
"\tprivate\tstatic\tfinal\tint\t\tBYTE_MASK = 0xFF;",
"\tprivate\tstatic\tfinal\ti... |
derby-DERBY-3618-44900c52 | DERBY-3618 Perform thread dump with ASSERTS with jdk 1.5 or higher
Contributed by Erlend Birkenes
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@678858 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/shared/org/apache/derby/shared/common/sanity/AssertFailure.java",
"hunks": [
{
"added": [
"import java.io.ByteArrayOutputStream;",
"import java.io.PrintStream;",
"import java.io.PrintWriter;",
"import java.lang.reflect.InvocationTargetExc... |
derby-DERBY-3618-47ae0cd9 | DERBY-3618: Addressed some review comments in AssertFailure and AssertFailureTest
Patch contributed by Erlend Birkenes <erlend@birkenes.net>.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@679742 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/shared/org/apache/derby/shared/common/sanity/AssertFailure.java",
"hunks": [
{
"added": [
" Derby - Class org.apache.derby.shared.common.sanity.AssertFailure"
],
"header": "@@ -1,6 +1,6 @@",
"removed": [
" Derby - Class org.apache... |
derby-DERBY-3619-19a32c4e | DERBY-3619: Implement more load types for derbyTesting.perf.clients.Runner
Added a class that creates databases for use in tests that simulate
bank transactions. It is the intention that these databases follow the
rules defined by the TPC-B benchmark specification as closely as
possible.
git-svn-id: https://svn.apac... | [
{
"file": "java/testing/org/apache/derbyTesting/perf/clients/BankAccountFiller.java",
"hunks": [
{
"added": [
"/*",
"",
"Derby - Class org.apache.derbyTesting.perf.clients.BankAccountFiller",
"",
"Licensed to the Apache Software Foundation (ASF... |
derby-DERBY-3619-2445ee83 | DERBY-3619: Implement more load types for org.apache.derbyTesting.perf.clients.Runner
Added options to Runner to run the bank transaction test.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@671861 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/perf/clients/Runner.java",
"hunks": [
{
"added": [
"import java.util.HashMap;"
],
"header": "@@ -27,7 +27,7 @@ import java.sql.DriverManager;",
"removed": [
"import java.util.HashSet;"
]
}... |
derby-DERBY-3619-4ea38fbf | DERBY-3619: Implement more load types for org.apache.derbyTesting.perf.clients.Runner
Added BLOB/CLOB load for the single-record update client.
Added possibility to access rows by a non-indexed column or a column
with a non-unique index instead of the primary key column (in the
single-record update client and the sin... | [
{
"file": "java/testing/org/apache/derbyTesting/perf/clients/Runner.java",
"hunks": [
{
"added": [
"import java.util.Arrays;",
"import java.util.HashSet;"
],
"header": "@@ -26,6 +26,8 @@ import java.sql.Connection;",
"removed": []
},
{
... |
derby-DERBY-3619-6f53b7f4 | DERBY-3619: Implement more load types for org.apache.derbyTesting.perf.clients.Runner
Added simple selects of rows with columns containing a BLOB or a CLOB.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@650112 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/perf/clients/Runner.java",
"hunks": [
{
"added": [
"import java.sql.Types;"
],
"header": "@@ -25,6 +25,7 @@ import java.io.PrintStream;",
"removed": []
},
{
"added": [
"\" ... |
derby-DERBY-3619-f02a9f23 | DERBY-3619: Implement more load types for org.apache.derbyTesting.perf.clients.Runner
Added a test client (BankTransactionClient) that performs operations
on a database created by BankAccountFiller. The transactions are
supposed to have the same profile as the transactions in the TPC-B
benchmark. The test client has n... | [
{
"file": "java/testing/org/apache/derbyTesting/perf/clients/BankAccountFiller.java",
"hunks": [
{
"added": [
" static final String ACCOUNT_TABLE = \"ACCOUNTS\";",
" static final String BRANCH_TABLE = \"BRANCHES\";",
" static final String TELLER_TABLE = \... |
derby-DERBY-3624-4f29da3d | DERBY-3624: Missing deadlock in storetests/st_derby715.java
Make both tests wait until the other thread has executed the SELECT
statement and exhausted the ResultSet before they go on to the INSERT
statements that should deadlock.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1618821 13f79535-47bb-... | [] |
derby-DERBY-3624-d76dd28c | DERBY-3624 testfailure in storetests/st_derby715 with ibm 1.5 on iseries machine; one deadlock message missing
Change test to check locks rather than sleep for synchronization.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1530696 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3625-5314923a | DERBY-3625
Fixed SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE() bug where during the
defragment phase one part of the code would think there was enough room to
move a record, but because the new record id on the destination page would
take more room than on the source page the move actually would not succeed.
In this case... | [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java",
"hunks": [
{
"added": [
" /**",
" * Does this page have enough space to move the row to it.",
" * <p>",
" * Calculate if a row of length \"spaceNeeded\" with cur... |
derby-DERBY-3625-cf775af5 | DERBY-3625
Adding space check to case where we try to move row to a new page. I could
not come up with a repro for this case, but seems safer to check for space
than not. The case the code is trying to avoid is a free page that has been
reclaimed with a nextid that requires more space than the row on the source
page... | [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java",
"hunks": [
{
"added": [
" if ((dest_page.getPageNumber() >= getPageNumber()) ||",
" (!dest_page.spaceForCopy(row_size, record_id)))",
" ... |
derby-DERBY-3631-e1e6ecb2 | DERBY-3631 UDF used with aggregate arguments results in error 30000
Add test case. Actual issue fixed with DERBY-3649
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@719015 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3634-3527fd56 | DERBY-3634 Cannot use row_number() in ORDER BY clause
Patch derby-3634-remove-2, which removes the old windowing code to
make the patch with new code (which fully replaces the old code except
for the tests) more readable. Before that code is committed, OLAPTest
is temporarily removed from lang/_Suite.java so as not to... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.sql.ResultDescription;"
],
"header": "@@ -25,6 +25,7 @@ import org.apache.derby.catalog.TypeDescriptor;",
"removed": []
... |
derby-DERBY-3645-1d0c809d | derby-4477 Selecting / projecting a column whose value is represented by a stream more than once fails
Patch derby-4477-partial-2. This patch clones streamable columns in
occurence 2..n in ProjectRestrictResultset if they occur more than
once in the select list. It also adds the three repro test cases from
DERBY-3645,... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java",
"hunks": [
{
"added": [
" @param cloneMapItem Item # for columns that need cloning",
" @param reuseResult Whether or not to reuse the result row."
],
"header": "@... |
derby-DERBY-3646-1d0c809d | derby-4477 Selecting / projecting a column whose value is represented by a stream more than once fails
Patch derby-4477-partial-2. This patch clones streamable columns in
occurence 2..n in ProjectRestrictResultset if they occur more than
once in the select list. It also adds the three repro test cases from
DERBY-3645,... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java",
"hunks": [
{
"added": [
" @param cloneMapItem Item # for columns that need cloning",
" @param reuseResult Whether or not to reuse the result row."
],
"header": "@... |
derby-DERBY-3649-96e7da94 | DERBY-3649 can't call a stored function with an aggregate argument without getting the following error: ERROR 42Y29
Move check for function in group by from AggregateExpressionVisitor to GroupByList
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@652533 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3649-e1e6ecb2 | DERBY-3631 UDF used with aggregate arguments results in error 30000
Add test case. Actual issue fixed with DERBY-3649
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@719015 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3650-0da1e72b | DERBY-3650 (partial) - Derby + Hibernate JPA 3.2.1 problem on entity with Blob/Clob
Just adding some tests for the issue which don't pass yet, so not adding them to any suite yet.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@657124 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3650-1b454a1f | DERBY-4520 (partial): Refactor and extend data type cloning facilities
Added functionality to clone store streams (without materialization).
Delayed filling the byte buffer in OverflowInputStream constructor and in
OverflowInputStream.resetStream.
Orginal patch contributed by Mike Matrigali (mikem_app at sbcglobal dot... | [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatIdInputStream.java",
"hunks": [
{
"added": [],
"header": "@@ -26,7 +26,6 @@ import java.io.IOException;",
"removed": [
"import org.apache.derby.iapi.reference.SQLState;"
]
},
{
... |
derby-DERBY-3650-55bc97fc | DERBY-4477 Selecting / projecting a column whose value is represented by a stream more than once fails
Patch derby-4477-lowmem-2, which adds test cases to check that lobs
are not materialized when large, for the use cases covered by this
issue. The test cases are added to the lowmem suite, which is not not
part of the... | [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/streams/LoopingAlphabetReader.java",
"hunks": [
{
"added": [
" /**",
" * Reopen the stream.",
" */",
" public void reopen()",
" throws IOException {",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.