id
stringlengths
22
25
commit_message
stringlengths
137
6.96k
diffs
listlengths
0
63
derby-DERBY-3270-392ac57f
DERBY-3270 Delayed (on-demand) creation of current user schema makes select from view belonging to other schema fail. Fixed with patch derby-3270-dhw-3. This temporarily sets the default current schema back to what it was at the time of definition of the schema. This need also exsts in other places, so a general mecha...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CompilerContextImpl.java", "hunks": [ { "added": [ "" ], "header": "@@ -1,3 +1,4 @@", "removed": [] }, { "added": [ "\t\tdefaultSchemaStack = null;" ], "head...
derby-DERBY-3279-20bd3c03
DERBY-3279: Add logic for execution-time sorting of IN list values into DESCENDING order when required. This is necessary when doing IN-list "multi-probing" on some column C for which a DESC sort has been eliminated (by the optimizer). In such a case the row values will come back in the order in which they appear in t...
[ { "file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java", "hunks": [ { "added": [ "\t\t@param sortRequired Which type of sort we need for the values", "\t\t\t(ascending, descending, or none)." ], "header": "@@ -1002,8 +1002,8 @@ public...
derby-DERBY-3279-50567fe2
DERBY-3279: Add logic for execution-time sorting of IN list values into DESCENDING order when required. This is a follow-up patch to add an implementation of the adjustForSortElimination(RequiredRowOrdering) to IndexToBaseRowNode, which was missing from the previous commit (svn # 616126). This commit also adds more t...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/IndexToBaseRowNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.compile.RequiredRowOrdering;" ], "header": "@@ -26,6 +26,7 @@ import org.apache.derby.iapi.services.context.ContextManager;", ...
derby-DERBY-3288-00679884
DERBY-3288: Fix optimizer dependency tracking logic so that it correctly enforces join order dependencies between Optimizables, even when plan "short-circuiting" occurs. This patch also fixes a bug in FromVTI's referenced table map (which affects dependencies) and does a slight refactoring of the "pull Optimizable" co...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerImpl.java", "hunks": [ { "added": [ "\t\t\tint nextOptimizable = proposedJoinOrder[joinPosition] + 1;", "\t\t\tif (proposedJoinOrder[joinPosition] >= 0)", "\t\t\t{", "\t\t\t\t/* We are eit...
derby-DERBY-3296-161e9cca
DERBY-3296: Importing to table in default schema fails when another table with the same name exists in a different schema If schema isn't specified, ColumnInfo should pass the name of the session's current schema to DatabaseMetaData.getColumns(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@77968...
[ { "file": "java/engine/org/apache/derby/impl/load/ColumnInfo.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.jdbc.EngineConnection;" ], "header": "@@ -33,6 +33,7 @@ import java.sql.Connection;", "removed": [] } ] } ]
derby-DERBY-3299-c437565f
DERBY-3299 (incremental): Updates ConglomerateDescriptor.java to include logic for detecting a conglomerate "replacement" scenario, and adds logic to drop the old (shared) conglomerate in those scenarios. Also changes the various ConstantAction classes which rely on the "drop(...)" methods of ConglomerateDescriptor and...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConglomerateDescriptor.java", "hunks": [ { "added": [ "\t ConglomerateDescriptor [] congDescs =", "\t dd.getConglomerateDescriptors(getConglomerateNumber());", "", "\t\tboolean dropCon...
derby-DERBY-3299-c92685ee
DERBY-3299 (incremental): Add several utility methods to DDLSingleTableConstantAction.java that can be called by the various ConstantAction subclasses to drop a constraint and/or a conglomerate descriptor. In addition to performing the drop as before, these utility methods also check to see if dropping the constraint o...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConglomerateDescriptor.java", "hunks": [ { "added": [ " * @param lcc Connection context to use for dropping", " * @param td TableDescriptor for the table to which this", " * conglomerate belo...
derby-DERBY-3299-cf870799
DERBY-3299 (incremental: Changes/additions to CreateIndexConstantAction.java so that it can support the creation of "replacement" conglomerates, which will be necessary when the physical conglomerate for an index has been dropped but the index descriptor still exists. This can happen if multiple indexes share a physic...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/CreateIndexConstantAction.java", "hunks": [ { "added": [ "\t/** Conglomerate number for the conglomerate created by this", "\t * constant action; -1L if this constant action has not been", "\t * executed. I...
derby-DERBY-3301-de519067
DERBY-3301: Incorrect result from query with nested EXIST Prevent the optimizer from flattening subqueries that need to be evaluated to get correct results. Patch contributed by Thomas Nielsen Patch files: derby-3301-8.diff, derby-3301-test-master-2.diff, derby-3301-test-3.diff git-svn-id: https://svn.apache.org/r...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/SelectNode.java", "hunks": [ { "added": [ "\tboolean originalWhereClauseHadSubqueries;", "\t" ], "header": "@@ -112,6 +112,8 @@ public class SelectNode extends ResultSetNode", "removed": [] ...
derby-DERBY-3302-9460d4cc
DERBY-3302 The user was running into null pointer exception at the time of database recovery because Derby was trying to get the Collator object through database context. But the Collator object is already available in the territory sensitive character classes and we do not have to go to database context to get it. I ...
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLChar.java", "hunks": [ { "added": [ "\t/**", "\t * This method gets called for the collation sensitive char classes ie", "\t * CollatorSQLChar, CollatorSQLVarchar, CollatorSQLLongvarchar,", "\t * Coll...
derby-DERBY-3303-d2a6cce8
DERBY-3303: Fix OrderByColumn.java to account for "pulled" GROUP BY columns when a) checking to see if the user has specified a valid ORDER BY column, and b) trying to resolve "pulled" ORDER BY columns to their underlying values. Also, add some relevant test cases to the existing lang/orderby.sql test. git-svn-id: ht...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/OrderByColumn.java", "hunks": [ { "added": [ "", "\t\t\t/* Column is out of range if either a) resultCol is null, OR", "\t\t\t * b) resultCol points to a column that is not visible to the", "\t\t\t...
derby-DERBY-3304-002bf942
DERBY-3304 and DERBY-3414 This serves as a test case for both the jira entries above. Number of code changes for transaction ending time went in as part of DERBY-3304 and this new test will check those code changes for specific case of rollback inside a java procedure call. The test case is currently disabled fo...
[]
derby-DERBY-3304-039b8cdf
Adding a junit test for the standalone test case provided by Dag for DERBY-3304. Here, we are adding a Java procedure which does a commit and then returns a resultset back to the caller. The resultset should not get closed as part of the commit. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@6142...
[]
derby-DERBY-3304-0f450705
DERBY-3304 DERBY-3037 DERBY-1585 I am adding a test case to check for the resultset from the java procedure call when the java procedure has done a rollback inside it. This test shows that in trunk, after checkin 602991 for DERBY-1585, a procedure does not return a resultset if there was a rollbck inside the procedu...
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [ " * Assert that the statement has no more results(getMoreResults) and it ", " * indeed does not return any resultsets(by checking getResultSet). ", " * Also, ensu...
derby-DERBY-3304-27711132
DERBY-3304 Some code cleanup in GenericLanguageConnectionContext.endTransactionActivationHandling so the code is more readable. No functionality change, just consolidated various if statements and used some local variables to replace repeated method calls like a.getResultSet() and a.getResultSet().returnsRows() git...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [ "\t\t\tif (forRollback) { ", "\t\t\t\t// Only invalidate statements if we performed DDL.", "\t\t\t\tif (dataDictionaryInWriteMode()) {", ...
derby-DERBY-3304-782354ac
DERBY-3304 The main purpose of this patch is to fix the rollback handling for resultsets that do not return rows. An example case for this is a java procedure which has a Connection.rollback inside it. When the user calls the java procedure, and Connection.rollback is made inside of it, Derby should not be closing t...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [ "\t\tthe activations that have resultset returning rows associated with ", "\t\tthem. DERBY-3304 Resultsets that do not return rows should be left ", ...
derby-DERBY-3304-9f9a13ab
DERBY-3304 When a SQL exception is thrown, make sure that rollback caused by it closes all the resultsets irrespective of whether they return rows or not. This cleanup was not happening for CallableStatementResultSet. To fix this, in CallableStatementResultSet class, I have changed the no-op cleanup() method to call...
[]
derby-DERBY-3304-a68377ce
Checking in code cleanup for DERBY-3304. This code cleanup is based on Knut's review of my earlier commit 629926. No functionality has changed, but code will be now much easier to read. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@631481 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [ "\t\t\t//Determine if the activation has a resultset and if that resultset", "\t\t\t//returns rows. For such an activation, we need to take special", ...
derby-DERBY-3304-ac5abd96
DERBY-6038: Intermittent failure in LangProcedureTest: cannot drop table because of open ResultSet Explicitly close the non-dynamic result set in the regression test case for DERBY-3304. Also update the comments to reflect that DERBY-3304 only affected the internal CallStatementResultSet and its dynamic result sets. ...
[]
derby-DERBY-3304-cbc650d0
DERBY-3304 This commit addresses two issues. First of all, it cleanups up reset method in BaseActivation which was doing more than just bringing the Activation back to pre-execution state. The method had to make itself aware of holdability and what kind of resultset it was dealing with before closing or clearing t...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java", "hunks": [ { "added": [ "\t\tif (resultSet != null) ", "\t\t\tresultSet.close();", "\t\t" ], "header": "@@ -332,16 +332,9 @@ public abstract class BaseActivation impleme...
derby-DERBY-3304-ff175071
DERBY-3304 This is a followup commit for DERBY-3304 based on various comments. It does following 1)The existing method resetActivations in GenericLanguageConnectionContext has been renamed to better reflect it's functionality. It will be now called endTransactionActivationHandling since it gets called for commit/rollb...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java", "hunks": [ { "added": [ "\t\tendTransactionActivationHandling(false);" ], "header": "@@ -1122,7 +1122,7 @@ public class GenericLanguageConnectionContext", "removed": ...
derby-DERBY-3305-f62cb688
DERBY-3305 Ensure that a processing a ResultSet into a dynamic result marks the application statment result set as the correct one, based upon the statement the result set is transferred to. Add asserts to jdbcapi.ProcedureTest to check that ResultSet.getStatement returns the correct Statement object. git-svn-id: http...
[]
derby-DERBY-3306-181c56ab
DERBY-3325: Add 'maxStatements' property to ClientConnectionPoolDataSource. Enabled the test jdbcapi.ClientConnectionPoolDataSourceTest, removed two unused imports from _Suite and removed the workaround for DERBY-3306. Patch file: derby-3325-2a-enable_test_and_remove_workaround.diff (I added one missing space characte...
[]
derby-DERBY-3306-7fe51c32
DERBY-3306 (+DERBY-3412): jdbc4.StatementEventsTest cannot be run individually in a clean environment. This commit backs out the previous patch committed for this issue (revision 620480). Manual work was required because J2EEDataSourceTest has been split off DataSourceTest in the mean time. This patch also fixes Statem...
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBCDataSource.java", "hunks": [ { "added": [ " * configuration. The getConnection() method will return", " * a connection identical to TestConfiguration.openDefaultConnection()." ], "header": "@@...
derby-DERBY-3306-9cf3fb5e
DERBY-3306: jdbc4.StatementEventsTest cannot be run individually in a clean environment. This is in fact a more general fix for tests using a DataSource obtained through the JUnit framework utility classes to create connections. The connections will now default to create the database if it does not exists. The accompan...
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBCDataSource.java", "hunks": [ { "added": [ " * configuration.", " * <p>The getConnection() method will return a connection identical to", " * {@link TestConfiguration#openDefaultConnection}." ...
derby-DERBY-3307-2e2d2ee2
DERBY-3307: NPE in PooledConnction event notification handling if a null listener is added - Added null check in ClientPooledConnection.addConnectionEventListener(). - Added regression test in J2EEDataSourceTest git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@666040 13f79535-47bb-0310-9956-ffa450ed...
[]
derby-DERBY-3308-e5b0435f
DERBY-3308: Broken synchronization for event handling in ClientPooledConnection40. Patch file: derby-3308-1b-eventlisteners_synchronization.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@614536 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/ClientPooledConnection40.java", "hunks": [ { "added": [ "import java.util.ArrayList;" ], "header": "@@ -23,7 +23,7 @@ package org.apache.derby.client;", "removed": [ "import java.util.Vector;" ] ...
derby-DERBY-3310-0dfa31cd
Cleanup related to DERBY-3310. Simplify ResultSetNode.genNormalizeResultSetNode to always work on itself by producing a NormalizeResultSetNode that wraps it. That is how the function worked and was imlemented. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@630643 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ResultSetNode.java", "hunks": [ { "added": [ " ResultColumnList prRCList = resultColumns;" ], "header": "@@ -821,12 +821,10 @@ public abstract class ResultSetNode extends QueryTreeNode", "removed"...
derby-DERBY-3310-2e105f0d
Add some comments to ResultColumn related to investigations for DERBY-3310 explaining some more about how the column can have a different type to the expression it refers to. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@630645 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ResultColumn.java", "hunks": [ { "added": [ " * <P>", " * its underlying column is not. In an INSERT or UPDATE the ResultColumn", " * will represent the type of the column in the table, the type of", ...
derby-DERBY-3310-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-3311-d6209a80
DERBY-3311: Client ResultSet.getHoldabilty will return incorrect value when the ResultSet is obtained from a procedure call Patch contributed by Daniel John Debrunner Patch file: derby_3311_diff.txt git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@613169 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.jdbc.EngineResultSet;" ], "header": "@@ -61,6 +61,7 @@ import org.apache.derby.iapi.services.sanity.SanityManager;", "removed": [] ...
derby-DERBY-3316-3abb5722
DERBY-3316 Leak in client if ResultSet not closed The leak was in SectionManager.positionedUpdateCursorNameToResultSet_ which kept a reference to the ResultSet so it wouldn't get garbage collected. The solution was to use a WeakReference to the ResultSets in positionedUpdateCursorNameToResultSet_ so that they can be ...
[ { "file": "java/client/org/apache/derby/client/am/SectionManager.java", "hunks": [ { "added": [ "import java.lang.ref.WeakReference;", "" ], "header": "@@ -21,6 +21,8 @@", "removed": [] } ] } ]
derby-DERBY-3319-60d10e68
DERBY-1191 (partial) Some SQLExceptions, for example those generated from BrokeredStatements, do not print to derby.log even when derby.stream.error.logSeverityLevel=0 Here is a patch that takes the approach of adding a public static void logAndThrowSQLException(SQLException se) method and then calling that instead of...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/Util.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.error.ErrorStringBuilder;", "import org.apache.derby.iapi.services.property.PropertyUtil;", "import org.apache.derby.iapi.services.stream.HeaderPrin...
derby-DERBY-3319-902041a6
DERBY-3319: Logical connections do not check if a transaction is active on close Make sure that connections created by the different kinds of data sources throw an exception on close if they are active. This is done to get the same behaviour as with connections returned by DriverManager. Don't throw exception for con...
[ { "file": "java/engine/org/apache/derby/jdbc/EmbedPooledConnection.java", "hunks": [ { "added": [], "header": "@@ -153,11 +153,6 @@ class EmbedPooledConnection implements javax.sql.PooledConnection, BrokeredConne", "removed": [ "\t\t// need to do this in case the conn...
derby-DERBY-3320-6b95f615
DERBY-3320 This commit will ensure that if the Collator support does not exist during a territory based database creation, then we will throw an exception saying Collator support does not exist. In case of subsequent boot of a successfully created territory based database, we will check for the Collator support from JV...
[ { "file": "java/engine/org/apache/derby/iapi/types/DataValueFactory.java", "hunks": [ { "added": [], "header": "@@ -31,8 +31,6 @@ import java.sql.Timestamp;", "removed": [ "import java.util.Locale;", "" ] }, { "added": [ ...
derby-DERBY-3320-ececdabc
Fix for the test that was added for DERBY-3320. The test was using DriverManager.getConnection but DriverManager is not available in JSR 169 environment. This caused the test to fail when run in JSR 169 environment. I have fixed the test to use testUtil.getConnection which is smart enough to use DriverManager or DataSo...
[]
derby-DERBY-3321-16164d57
DERBY-3321: NullPointerException for 'NOT EXISTS' with nested subquery Checks fromList for a FromSubquery using a CollectNodesVistior. The value of bindTargetListOnly is based on the contents of the visitor. Patch contributed by Thomas Nielsen Patch file: d3321.diff git-svn-id: https://svn.apache.org/repos/asf/db/de...
[]
derby-DERBY-3327-99d7d8b3
DERBY-3327 SQL roles: Implement authorization stack Patch DERBY-3327-3 which implements the authorization stack for SQL roles. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@614071 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java", "hunks": [ { "added": [], "header": "@@ -423,22 +423,6 @@ public interface LanguageConnectionContext extends Context {", "removed": [ "\t/**", "\t *\tGet the current role ...
derby-DERBY-3327-f04dc447
DERBY-3327 SQL roles: Implement authorization stack Some javadoc bugs fixed. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@615109 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/Activation.java", "hunks": [ { "added": [ "\t * @param role The name of the current role" ], "header": "@@ -591,7 +591,7 @@ public interface Activation", "removed": [ "\t * @arg role The name of the cu...
derby-DERBY-3330-0efe521c
DERBY-3330 submitted by Anurag Shekhar This commit is of the derby-3330_followup_1_modified.diff. CreateIndexConstantAction.java I have changed the name of the variable and added comment to explain what its meant for. I got confused while commenting last time. This property is required if TransactionCoordinator has t...
[ { "file": "java/engine/org/apache/derby/catalog/types/IndexDescriptorImpl.java", "hunks": [ { "added": [ "\t\t\tsb.append (\"UNIQUE WITH DUPLICATE NULLS\");" ], "header": "@@ -216,7 +216,7 @@ public class IndexDescriptorImpl implements IndexDescriptor, Formatable", ...
derby-DERBY-3330-2f994958
DERBY-3330 Adding an additional upgrade test case to verify that behavior of unique constraint on non-null column is consistent in all cases. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634849 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3330-435735bf
DERBY-3330 javadoc fixes, mostly related to DERBY-3330. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@636114 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/CreateIndexConstantAction.java", "hunks": [ { "added": [ " * @param uniqueWithDuplicateNulls True means index check and disallow" ], "header": "@@ -115,7 +115,7 @@ class CreateIndexConstantAction extend...
derby-DERBY-3330-62af56f3
DERBY-3330 committing on behalf of Anurag Shekhar. Adding upgrade tests that both confirm existing behavior of indexes and new behavior of constraints on nullable columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634383 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3330-d07f526b
DERBY-3330 contributed by Anurag Shekhar committing a modified version of sortercomments.diff patch. This change just updates the comments associated with the class and routine in this file - no code changes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634436 13f79535-47bb-0310-9956-ffa450edef...
[ { "file": "java/engine/org/apache/derby/impl/store/access/sort/UniqueWithDuplicateNullsMergeSort.java", "hunks": [ { "added": [ " * This class extends and customizes MergeSort to support unique indexes with", " * duplicate nulls.", " * Compares two keys. ", ...
derby-DERBY-3333-9c3b91c3
DERBY-3333 User name corresponding to authentication identifier PUBLIC must be rejected Patch DERBY-3333-roles. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@655948 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/GrantRoleConstantAction.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.conn.Authorizer;" ], "header": "@@ -28,6 +28,7 @@ import java.util.List;", "removed": [] } ] }, { ...
derby-DERBY-3341-f432362d
DERBY-3341: For Table Functions, coerce data values coming out of Java ResultSets into the SQL data values declared in the signature of the Table Function. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@636004 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java", "hunks": [ { "added": [ "import org.apache.derby.catalog.TypeDescriptor;", "" ], "header": "@@ -21,6 +21,8 @@", "removed": [] }, { "added": [ ...
derby-DERBY-3342-7a361f26
DERBY-2775 Remove last use of DataTypeDescriptor.setNullability() to make DTD's use immutable wrt nullability. Fixes DERBY-3346 and DERBY-3342 which were cases when a query was getting the incorrect nullability for some columns due to the mutability of DTD when shared across nodes. git-svn-id: https://svn.apache.org/...
[]
derby-DERBY-3343-28ce2663
DERBY-3343: Subsequent calls to PreparedStatement cause SQLIntegrityConstraintViolationException on column that is "Generated always" Patch file: d3343.v3.diff Modifies the logic in ResultColumn.getOrderableVariantType() so that it behaves correctly even when a default column is explicitly mentioned in an insert stat...
[]
derby-DERBY-3346-7a361f26
DERBY-2775 Remove last use of DataTypeDescriptor.setNullability() to make DTD's use immutable wrt nullability. Fixes DERBY-3346 and DERBY-3342 which were cases when a query was getting the incorrect nullability for some columns due to the mutability of DTD when shared across nodes. git-svn-id: https://svn.apache.org/...
[]
derby-DERBY-3347-a7de0811
DERBY-3347: ERROR XSDB3: Container information cannot change once written On JVMs that support the NIO API, multiple threads may perform I/O operations concurrently on the same data file. As long as these operations go through the page cache, only a single thread performs I/O on a single page at any given time. The da...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/RAFContainer4.java", "hunks": [ { "added": [ " {", " // If this is the first alloc page, there may be another thread", " // accessing the container information in the borrowed space on th...
derby-DERBY-3347-b44572f2
DERBY-3347: ERROR XSDB3: Container information cannot change once written On JVMs that support the NIO API, use NIO consistently when accessing the data files. Mixing old style I/O and NIO has caused problems on some platforms since thread-safety is only guaranteed if all access happens through the FileChannel interfa...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/FileContainer.java", "hunks": [ { "added": [], "header": "@@ -26,19 +26,11 @@ import org.apache.derby.iapi.reference.Property;", "removed": [ "import org.apache.derby.impl.store.raw.data.BaseContainer;", ...
derby-DERBY-3349-cd8df940
DERBY-3349: Nested WHERE EXISTS queries need improved testing Patch contributed by Thomas Nielsen Patch file: d3349-3.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@628686 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3350-50a8c626
DERBY-3350 Ensure that CAST inherits the nullability of its value expression since a cast of a non-null value is always not null. Changes the nullability of a number of JDBC DatabaseMetaData columns since many are derived from CAST expression in the SQL query that forms the result set. Updated canons where the nullabil...
[]
derby-DERBY-3354-74bac8e0
DERBY-3354: Select from large lob table with embedded gives OutOfMemoryError Contributed by Anurag. This patch introduces a new WeakHashMap in EmbedConnection. EmbedBlob and EmbedClob objects references are stored in this map (objects as key and null as value). Adding entry to locater map is differed till the first c...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedBlob.java", "hunks": [ { "added": [ " private int locator;" ], "header": "@@ -75,7 +75,7 @@ final class EmbedBlob extends ConnectionChild implements Blob, EngineLOB", "removed": [ ...
derby-DERBY-3354-d96e3980
DERBY-3354: Select from large lob table with embedded gives OutOfMemoryError Contributed by Anurag. This patch introduces a new WeakHashMap in EmbedConnection. EmbedBlob and EmbedClob objects references are stored in this map (objects as key and null as value). Adding entry to locater map is differed till the first c...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedBlob.java", "hunks": [ { "added": [ " private int locator;" ], "header": "@@ -75,7 +75,7 @@ final class EmbedBlob extends ConnectionChild implements Blob, EngineLOB", "removed": [ ...
derby-DERBY-3356-334e9a30
DERBY-3361: Make the startSlave connection wait until slave replication mode is confirmed started or until an error occurs. In addition, this patch adds host and port information to a derby.log message and a few exceptions for easier debugging. DERBY-3356 is also fixed by this patch. Contributed by Jorgen Loland git...
[ { "file": "java/engine/org/apache/derby/impl/db/SlaveDatabase.java", "hunks": [ { "added": [], "header": "@@ -31,7 +31,6 @@ import org.apache.derby.iapi.services.context.ContextService;", "removed": [ "import org.apache.derby.impl.services.monitor.UpdateServicePropert...
derby-DERBY-3357-0c7de0fe
DERBY-3357 ; improving run time of test DataSourceTest by only creating database objects once and by deciding in suite methods whether to run with network server and/or client, rather than within the fixtures. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@619667 13f79535-47bb-0310-9956-ffa450...
[]
derby-DERBY-3357-5b20343a
DERBY-3357: Reduce runtime of jdbcapi.DataSourceTest. Reduced lock timeouts. Patch file: derby-3357-1a-lower_lock_timeout.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@617486 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3357-decb600e
DERBY-3357; fixing up a few minor mistakes in DataSourceTest - forgot to change comments referring to renamed (to baseSuite) method getRunTwiceSuite, failed to add testXAHoldability, and I had tested testAutoCommitOnXAResourceStart against both client and server but forgot to remove it from the client suite. ...
[]
derby-DERBY-3358-46ed45c9
DERBY-3358: Do not cache Throwable in printStackAndStopMaster Contributed by V Narayanan. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634694 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/replication/master/MasterController.java", "hunks": [ { "added": [ " * @param e the exception that needs to be handled.", " private void printStackAndStopMaster(Exception e) {", " repLogger.logErr...
derby-DERBY-3358-fc4e76b6
DERBY-3358: After an incorrect(unsuccesfull) startMaster comand, further correct startMaster attempts also fail. Contributed by V Narayanan. M java/engine/org/apache/derby/impl/services/replication/master/MasterController.java * Added a variable boolean that indicates whether the master controller is currently running ...
[ { "file": "java/engine/org/apache/derby/iapi/services/replication/master/MasterFactory.java", "hunks": [ { "added": [], "header": "@@ -73,19 +73,7 @@ public interface MasterFactory {", "removed": [ "", " /** Property key used to specify which slave host t...
derby-DERBY-336-75fb1cf8
Submitting Dyre Tjeldvoll's patch for DERBY-336 git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@230900 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/error/StandardException.java", "hunks": [ { "added": [ " SanityManager.ASSERT(messageID != null,", " \"StandardException with no messageID\");" ], "header...
derby-DERBY-3360-0a6ce0bc
DERBY-3360 Invalid method java.lang.Integer >> void <init>(short) because java.lang.NoSuchMethodException: java.lang.Integer.<init>(short) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@679815 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3361-334e9a30
DERBY-3361: Make the startSlave connection wait until slave replication mode is confirmed started or until an error occurs. In addition, this patch adds host and port information to a derby.log message and a few exceptions for easier debugging. DERBY-3356 is also fixed by this patch. Contributed by Jorgen Loland git...
[ { "file": "java/engine/org/apache/derby/impl/db/SlaveDatabase.java", "hunks": [ { "added": [], "header": "@@ -31,7 +31,6 @@ import org.apache.derby.iapi.services.context.ContextService;", "removed": [ "import org.apache.derby.impl.services.monitor.UpdateServicePropert...
derby-DERBY-3362-dd2ce24a
DERBY-3362 Changed code to use right interface to get the control row and return null if either page does not exist or if the background thread would have had to wait for the page. In either case post commit just skips processing. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@634101 13f79535-47b...
[ { "file": "java/engine/org/apache/derby/impl/store/access/btree/BTreePostCommit.java", "hunks": [ { "added": [ " LeafControlRow leaf = null;", " // The following can fail, returning null, either if it can't get", " // the latch or some...
derby-DERBY-3364-5d5aab5f
DERBY-3364: Replication failover implementation must be modified to fail at the master after slave has been stopped Contributed by V Narayanan Changes: M java/engine/org/apache/derby/impl/services/replication/net/ReplicationMessageTransmit.java * Set a timeout on the socket that is translated as a timeout on the read...
[ { "file": "java/engine/org/apache/derby/impl/services/replication/master/MasterController.java", "hunks": [ { "added": [ " //The socket connection that is obtained needs to be torn down.", " teardownNetwork();" ], "header": "@@ -274,9 +...
derby-DERBY-3365-456b8a1c
DERBY-3365 Network Server stores a duplicate entry in the lob hash map for every lob Change network server to use existing lob hash map entry instead of creating a second entry. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@617186 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.jdbc.EngineBlob;", "import org.apache.derby.iapi.jdbc.EngineClob;" ], "header": "@@ -62,6 +62,8 @@ import org.apache.derby.iapi.servic...
derby-DERBY-337-1fa1fd04
DERBY-337: Enhance dblook to support SQL functions. 1 - Renames "impl/tools/dblook/DB_StoredProcedure.java" to "impl/tools/dblook/DB_Alias.java" because that file now handles stored procedures AND functions AND synonyms, all of which are based on the SYSALIASES system catalog. 2 - Adds logic to new DB_Alias.java file...
[ { "file": "java/engine/org/apache/derby/catalog/types/RoutineAliasInfo.java", "hunks": [ { "added": [ "\t// What type of alias is this: PROCEDURE or FUNCTION?", "\tprivate char aliasType;", "" ], "header": "@@ -88,6 +88,9 @@ public class RoutineAli...
derby-DERBY-3371-3e92fd96
DERBY-3371 (partial) Made T_AccessFactory.alterTable() run with both temporary and non-temporary conglomerates to get better test coverage in RAMTransaction git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@618299 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/unitTests/store/T_AccessFactory.java", "hunks": [ { "added": [ " && alterTable(tc, false)", " && alterTable(tc, true)" ], "header": "@@ -144,7 +144,8 @@ public class T_AccessFactor...
derby-DERBY-3376-52a0f73d
DERBY-3376: Test case in GrantRevokeDDLTest commented out This change adds some additional tests to GrantRevokeDDLTest. The test cases were originally contributed by Yip Ng (yipng168 at gmail dot com) The tests were originally written during buddy testing of Derby 10.2, and were committed as part of DERBY-1736, but ...
[]
derby-DERBY-3379-5d59e9db
DERBY-3379: "No Current connection" on PooledConnection.getConnection() if pooled connection is reused during connectionClosed processing. Patch file: derby-3379-3a-minimal_fix_and_test_enabling.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@642942 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/ClientPooledConnection.java", "hunks": [ { "added": [ " // Null out the reference to the logical connection that is currently", " // being closed.", " this.logicalConnection_ = null;", "...
derby-DERBY-3379-f1567ead
DERBY-3379 (partial): Updated some comments in buildDss, and converted comments for method finalizeDssLength into JavaDoc. Patch file: derby-3379-2a-comment_and_JavaDoc.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@637805 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/Request.java", "hunks": [ { "added": [ " // RQSDSS header is 6 bytes long: (ll)(Cf)(rc)", " // Save the position of the length bytes, so they can be updated with a", " // different value at a ...
derby-DERBY-3382-29fd25c8
DERBY-3382: Slave must inform master if DBs are out of sync. Adds a check of the log files to the replication initialization so that replication does not start if the log files are out of synch. The master will be notified whether or not the log files are synched. Tidies up if starting of replication fails. Contributed...
[ { "file": "java/engine/org/apache/derby/impl/services/replication/master/AsynchronousLogShipper.java", "hunks": [ { "added": [ " /** The highest log instant in failedChunk */", " private long failedChunkHighestInstant = -1;", " /** The highest log instan...
derby-DERBY-3382-9e93a53d
DERBY-3382: Adds regression test for out of sync checking between master and slave. Contributed by Jorgen Loland git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@641221 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3383-dd55fd82
DERBY-3383: Replication: Make sure stopSlave does not boot the database if not already booted. Contributed by Jorgen Loland git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@620444 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java", "hunks": [ { "added": [ " // DERBY-3383: stopSlave must be performed before", " // bootDatabase so that we don't accidentally boot the db", " // if stopSlave ...
derby-DERBY-3388-1d0892eb
DERBY-3388: Improve message handling for replication messages to derby.log Add timestamp to replication messages written to derby.log and introduce the following configurable properties: * derby.replication.verbose -> true/false - replication messages are written to log * derby.replication.logBufferSize -> t...
[ { "file": "java/engine/org/apache/derby/impl/services/replication/ReplicationLogger.java", "hunks": [ { "added": [ "import java.util.Date;", "import org.apache.derby.iapi.reference.Property;", "import org.apache.derby.iapi.services.property.PropertyUtil;", ...
derby-DERBY-339-88c25bba
DERBY-339 Network client XA should only keep XA state for transaction branch association Network client XA should only keep XA state for transaction branch association, to track whether to send commit in autocommit mode. All other state and state related decisions should be defered to the server. The client tries t...
[ { "file": "java/client/org/apache/derby/client/am/Connection.java", "hunks": [ { "added": [ " // The client needs to keep track of the connection's transaction branch association", " // per table 2.6 in the XA+ specification in order to determine if commits should flo...
derby-DERBY-3390-b75cf01c
DERBY-3390; preventing ClassCastException and disconnect on SQLException thrown from a user function git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@700948 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java", "hunks": [ { "added": [ "\t\t\tsqlerrmc = buildTokenizedSqlerrmc(se);" ], "header": "@@ -6005,7 +6005,7 @@ class DRDAConnThread extends Thread {", "removed": [ "\t\t\tsqlerrmc = bu...
derby-DERBY-3391-58f22ba5
DERBY-3391 Remove dead code that restored isolation level during a compile, since isolation cannot be changed by a compile git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@619981 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CompilerContextImpl.java", "hunks": [ { "added": [], "header": "@@ -617,22 +617,6 @@ public class CompilerContextImpl extends ContextImpl", "removed": [ "\t/**", "\t * @see CompilerContext#setEntryIsol...
derby-DERBY-3397-683c673d
DERBY-3397: Derby 10.3.1.4 and 10.3.2.1 break scrollable result sets? Hibernate Query.setFirstResult and/or setMaxResults. Added two simple regression tests. Patch file: derby-3397-2a-junit_reg_test.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@650786 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3398-841c8990
DERBY-5546 ResultSet#updateBigDecimal on a REAL column does not do underflow checking Patch derby-5546-2. For both Real and Double, check for underflow. For Double underflow is currently detected but only because we didn't fix DERBY-3398 yet, so we introduce the same check now as for Real. Once DERBY-3398 it will no...
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLDouble.java", "hunks": [ { "added": [ "import java.math.BigDecimal;" ], "header": "@@ -36,6 +36,7 @@ import java.io.ObjectOutput;", "removed": [] } ] }, { "file": "java/engine/org/apache/d...
derby-DERBY-3400-8935ca15
DERBY-3400 testgetTypeInfo Fails with ibm16 while running the UpgradeTests Workaround for IBM JVM issue. Make new arrays for ODBC nullability instead of doing arrayCopy. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@628151 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3401-2f817f3f
Add commented out code that exposes the bug described by DERBY-3401. Removing a listener from a pooled connection during logical connection close processing causes other listeners to be ignored. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@619991 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-3401-431eec83
DERBY-3401 (partial) Fixed ConcurrentModificationException if a statement event listener adds or removes a listener on the same pooled connection. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@660959 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/ClientPooledConnection40.java", "hunks": [ { "added": [ "import java.util.concurrent.CopyOnWriteArrayList;" ], "header": "@@ -23,7 +23,7 @@ package org.apache.derby.client;", "removed": [ "import java.ut...
derby-DERBY-3401-af3cf0c5
DERBY-3401: Removing a ConnectionEventListener from a PooledConnection during its connectionClosed() callback causes other ConnectionEventListener callbacks to be missed Clone the list of listeners if it is modified while the listeners are executing. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@6...
[ { "file": "java/client/org/apache/derby/client/ClientPooledConnection.java", "hunks": [ { "added": [ " /** List of {@code ConnectionEventListener}s. Never {@code null}. */", " private ArrayList listeners_ = new ArrayList();", "", " /**", ...
derby-DERBY-3404-5a17d020
DERBY-3404: EmbedResultSet.getString() returns wrong value after auto-commit with CLOSE_CURSORS_AT_COMMIT Made EmbedResultSet.checkIfClose() detect that the language ResultSet had been closed because of the auto-commit, and throw an SQLException. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@62971...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java", "hunks": [ { "added": [], "header": "@@ -2240,7 +2240,6 @@ public abstract class EmbedResultSet extends ConnectionChild", "removed": [ "\t//4)Make sure underneath language resultset is not closed"...
derby-DERBY-3406-d588984f
DERBY-3406: Fix unsynchronized calls to notify Contributed by V Narayanan git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@628078 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/replication/master/AsynchronousLogShipper.java", "hunks": [ { "added": [ " if (fi >= FI_HIGH || ", " (System.currentTimeMillis() - lastShippingTime) > MIN) {", " synchronized (t...
derby-DERBY-3412-7fe51c32
DERBY-3306 (+DERBY-3412): jdbc4.StatementEventsTest cannot be run individually in a clean environment. This commit backs out the previous patch committed for this issue (revision 620480). Manual work was required because J2EEDataSourceTest has been split off DataSourceTest in the mean time. This patch also fixes Statem...
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBCDataSource.java", "hunks": [ { "added": [ " * configuration. The getConnection() method will return", " * a connection identical to TestConfiguration.openDefaultConnection()." ], "header": "@@...
derby-DERBY-3414-002bf942
DERBY-3304 and DERBY-3414 This serves as a test case for both the jira entries above. Number of code changes for transaction ending time went in as part of DERBY-3304 and this new test will check those code changes for specific case of rollback inside a java procedure call. The test case is currently disabled fo...
[]
derby-DERBY-3415-8f89c096
DERBY-3415: 'DataSourceSerializationTestjunit.framework.AssertionFailedError' on Windows. Added closing of the FileInputStream to the test. Without it, the test failed on Windows platforms during tear down, and it is of course good practice to always clean up :) Patch file: derby-3415-1a.diff git-svn-id: https://svn....
[]
derby-DERBY-3417-84fa650c
DERBY-4175 Instability in some replication tests under load, since tests don't wait long enough for final state or anticipate intermediate states Patch derby-4175-3 (+ resolved some conflicts arising from commit of DERBY-3417). It makes three replication tests less sensitive to load by making them accept intermediate...
[]
derby-DERBY-3417-8c9d41ec
DERBY-3417 slave side stop in a client server mode results in SQLState printed without proper error message Patch derby-3417-2. A set of replication errors have been made session level (they are), also having the effect of preformatting the error message strings on the server, solving this issue. Also removed usage o...
[]
derby-DERBY-3420-1b0debd1
DERBY-3420: Remove obsolete -ca option from ij. The -ca command-line-option for the ij command is obsolete and no longer needed, since the ij connection URL can now accept all the necessary connection attribute information. This change removes the implementation of the -ca option from the ij code, and removes the opt...
[ { "file": "java/tools/org/apache/derby/impl/tools/ij/Main.java", "hunks": [ { "added": [], "header": "@@ -82,7 +82,6 @@ public class Main {", "removed": [ "\t\tProperties connAttributeDefaults = null;" ] }, { "added": [], "header": ...
derby-DERBY-3421-7ad8ff6b
DERBY-3421: Remove unused code for caching of connect bytes. Patch file: derby-3421-1b-removal.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@628679 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/NetConnection.java", "hunks": [ { "added": [], "header": "@@ -57,10 +57,6 @@ public class NetConnection extends org.apache.derby.client.am.Connection {", "removed": [ "", " // byte[] to save the connect f...
derby-DERBY-3422-cd903151
DERBY-3422: Embedded returns wrong value for DatabaseMetaData.autoCommitFailureClosesAllResultSets() Return the correct value (true) and update the test so that it is able to detect differences between returned value and actual behaviour. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@629395 13f795...
[]
derby-DERBY-3423-7e4dcd98
DERBY-3423: Minor cleanup in DatabaseMetaData implementation classes - removed providesQueryObjectGenerator() - removed unused variables and imports - fixed signatures for getSchemas(String,String) and getClientInfoProperties() to match the signatures in the interface git-svn-id: https://svn.apache.org/repo...
[ { "file": "java/client/org/apache/derby/client/am/DatabaseMetaData.java", "hunks": [ { "added": [], "header": "@@ -23,7 +23,6 @@ package org.apache.derby.client.am;", "removed": [ "import org.apache.derby.jdbc.ClientDataSource;" ] }, { "add...
derby-DERBY-3424-57655605
DERBY-3424 (partial) Improve JMXManagementService to spearate registering of mbeans with Derby's management service from registering with the JMX service. This allows the ManagementMBEan to correctly implement the stop and start management service to unregister (from the platform mbean server) Derby's MBean when the st...
[ { "file": "java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java", "hunks": [ { "added": [ "import java.util.HashMap;", "import java.util.Map;" ], "header": "@@ -22,12 +22,11 @@ import java.security.AccessController;", "removed": [...
derby-DERBY-3424-b69d62b9
DERBY-3424 Change getSystemModule() to return null if the monitor is not booted, rather than a NullPointerException git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632398 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/monitor/Monitor.java", "hunks": [ { "added": [ " /**", " * Return a system module. If it cannot be found or the monitor is", " * not running then null is returned.", " */", " ...
derby-DERBY-3424-e6a963f7
DERBY-3424 DERBY-3385 Add test for the ManagementMBean when Derby is not running. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@633643 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java", "hunks": [ { "added": [ " systemIdentifier = null;" ], "header": "@@ -150,6 +150,7 @@ public final class JMXManagementService implements ManagementService, ModuleCont", ...
derby-DERBY-3424-f8bc0199
DERBY-3424 (partial) Add initial apis and bean implementations for a management mbean to control Derby's JMX behaviour. Start and stop the management are present as operations but currently do nothing. Also fix a bug in DERBY-1387 where shutting down Derby would fail with jmx when multiple mbeans were registered. git-...
[ { "file": "java/engine/org/apache/derby/iapi/services/jmx/ManagementService.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.reference.Module;", "import org.apache.derby.mbeans.ManagementMBean;" ], "header": "@@ -18,6 +18,8 @@", "removed"...