id stringlengths 22 25 | commit_message stringlengths 137 6.96k | diffs listlengths 0 63 |
|---|---|---|
derby-DERBY-1517-6c1fe080 | DERBY-1756
patch Derby1756.2.diff.txt contributed by Sunitha Kambhampati
with derby-962 changes, if client jvm supports EUSRIDPWD then the client would
use EUSRIDPWD as the security mechanism. But it is possible that the server jvm
might not support EUSRIDPWD and the connection can fail.
When DERBY-1517, DERBY-1755 i... | [
{
"file": "java/client/org/apache/derby/jdbc/ClientBaseDataSource.java",
"hunks": [
{
"added": [
" * 2. if password is available,then USRIDPWD is returned."
],
"header": "@@ -277,10 +277,7 @@ public abstract class ClientBaseDataSource implements Serializable, Refe... |
derby-DERBY-1519-faf6742e | DERBY-1519: 'setAsciiStream' uses different encodings for embedded and client. Client changed to use ISO-8859-1 to comply with JDBC and the embedded driver. This change can cause incompatibilities for certain applications (see release notes).
Patch file: derby-1519-1a.diff
git-svn-id: https://svn.apache.org/repos/asf... | [
{
"file": "java/client/org/apache/derby/client/am/Clob.java",
"hunks": [
{
"added": [
" //\"ISO-8859-1\", \"UTF-8\", or \"UnicodeBigUnmarked\""
],
"header": "@@ -100,7 +100,7 @@ public class Clob extends Lob implements java.sql.Clob {",
"removed": [
... |
derby-DERBY-1521-145baeed | DERBY-1521 Attaching a patch 'd1521-patch1-v1.diff' which modifies UpgradeTester to test the grant/revoke feature. This is a preliminary patch which tests the default upgrade behaviour: In upgrades from versions earlier than 10.2,
* grant/revoke feature is not available in soft upgrade
* grant/revoke feature is not ava... | [] |
derby-DERBY-1521-fee30aa2 | DERBY-1521 Patch which sets "derby.database.sqlAuthorization" for an upgraded database and tests that grant/revoke is available.
Patch submitted by Deepa Remesh
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@428160 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1522-f05a2f83 | DERBY-1522
contributed by Deepa Remesh, dremesh@gmail.com
Attaching a patch 'derby1522_v2.diff. It includes a JUnit test for testing the
switch to SQL standard authorization. It tests following:
1. grant/revoke is not available if derby.database.sqlAuthorization property
is not set.
2. grant/revoke is available whe... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/DatabasePropertyTestSetup.java",
"hunks": [
{
"added": [
"import org.apache.derbyTesting.functionTests.util.SQLStateConstants;",
""
],
"header": "@@ -29,6 +29,8 @@ import java.util.Properties;",
"... |
derby-DERBY-1527-d45f7d3f | DERBY-1527: Factor out type checks in EmbedResultSet and EmbedPreparedStatement
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@423912 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java",
"hunks": [
{
"added": [
" checkAsciiStreamConditions(parameterIndex);"
],
"header": "@@ -567,8 +567,7 @@ public abstract class EmbedPreparedStatement",
"removed": [
... |
derby-DERBY-153-86be8370 | DERBY-153: Fix Eclipse plugin version specification.
Committed for Rajesh Kartha <kartha@source-zone.org>
git-svn-id: https://svn.apache.org/repos/asf/incubator/derby/code/trunk@161100 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java",
"hunks": [
{
"added": [
"/*",
"",
" Derby - Class org.apache.derbyBuild.eclipse.DerbyEclipsePlugin",
"",
" Copyright 2002, 2004 The Apache Software Foundation or ... |
derby-DERBY-1530-ebdced0d | DERBY-1530: Commit derby-1530_v01.diff, aligning Derby with the last JDBC4 signature changes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@430815 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/DatabaseMetaData.java",
"hunks": [
{
"added": [
" * <code>EmbedDatabaseMetaData.getFunctionColumns(String,String,"
],
"header": "@@ -1183,7 +1183,7 @@ public abstract class DatabaseMetaData implements java.sql.Data... |
derby-DERBY-1533-505bb8a1 | DERBY-1533: ArrayIndexOutOfBoundsException in DDMReader
DERBY-1533 follows in a series of bugs (DERBY-170, DERBY-428, DERBY-491,
DERBY-492, DERBY-614 among others) which have to do with the particulars of
the DRDA protocols used for handling long messages and large amounts of data.
In this particular issue, the proble... | [
{
"file": "java/drda/org/apache/derby/impl/drda/DDMReader.java",
"hunks": [
{
"added": [
"\t\tif (length < DssConstants.MAX_DSS_LENGTH)"
],
"header": "@@ -1321,7 +1321,7 @@ class DDMReader",
"removed": [
"\t\tif (length < dssLength)"
]
... |
derby-DERBY-1536-f6313172 | DERBY-1536: Extend tests for Wrapper interface
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@423800 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1537-17b031d5 | DERBY-1537: Don't put metadata.properties into derbytools.jar. Avoids boot-time
exception when running tests with derbytools.jar in front of derby.jar in the
classpath.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@427816 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/build/org/apache/derbyBuild/classlister.java",
"hunks": [
{
"added": [
" // The following block of code checks the package of each class",
" // scanned to see if there is a corresponding properties file",
" ... |
derby-DERBY-1538-4f5dc7df | DERBY-1538: Disable GRANT or REVOKE operations for object owners and raise an error when attempted. Also Database owner will not be able to revoke or grant access to object owners as well.
Submitted by Satheesh Bandaram (bandaram@gmail.com)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@432929 13f7... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java",
"hunks": [
{
"added": [
"import java.util.List;"
],
"header": "@@ -35,6 +35,7 @@ import org.apache.derby.impl.sql.execute.PrivilegeInfo;",
"removed": []
},
{
"add... |
derby-DERBY-1539-08313de0 | DERBY-1539 Supports basic revoke functionality for triggers.
If revoke statement finds a trigger dependent on the table/column/routine
on which privilege is being revoked, the trigger will be dropped automatically.
Patch contributed by Mamta Satoor
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@4258... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/depend/DependencyManager.java",
"hunks": [
{
"added": [
"\tis a general purpose interface which is associated with a"
],
"header": "@@ -31,7 +31,7 @@ import org.apache.derby.iapi.sql.conn.LanguageConnectionContext;",
... |
derby-DERBY-1554-0bf06221 | DERBY-1554: Revert IDENTITY_VAL_LOCAL() behavior on multi-row inserts to that seen in 10.1.3. Applying patch derby1554trunkdiff02.txt.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@429425 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/InsertResultSet.java",
"hunks": [
{
"added": [
" // checks if source result set is a RowResultSet type.",
" private boolean isSingleRowResultSet()",
" {",
" boolean isRow = false;",... |
derby-DERBY-1555-03a99e2c | DERBY-1555 Change BaseJDBCTestCase.getXConnection() to getConnection and provide consistent initialization
of all connections returned by instance methods of BaseJDBCTestCase.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@434192 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1555-09ffc9bc | DERBY-1555 DERBY-1701 (partial) Convert more tests to use the instance based get[X]Connection method
or the static openDefault method.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@432028 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1555-576a49fd | DERBY-1555 (partial) Minor cleanup on some JUnit tests, make the base test classes abstract.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@424135 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1555-7ebfefeb | DERBY-1555 DERBY-1701 (partial) Add utiltiy methods to BaseJDBCTestCase to get Statements, PreparedStatements against
the default connection for the test.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@432222 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1555-8f784a46 | DERBY-1555 DERBY-1562 (partial) Add new classes BaseJDBCTestSetup and JDBC to support
JDBC Unit test development.
BaseJDBCTestSetup is a TestSetup decorator for setup that uses JDBC.
JDBC class is a holder for JDBC test utility methods.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@424388 13f79535-4... | [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/JDBC.java",
"hunks": [
{
"added": [
"/*",
" *",
" * Derby - Class org.apache.derbyTesting.functionTests.util.JDBC",
" *",
" * Copyright 2006 The Apache Software Foundation or it... |
derby-DERBY-1555-92f9877b | DERBY-1555 (partial) Add some top level JUnit suites that run all the tests in the packages (AllPackages),
all the tests in Embedded and (Derby) Client configurations and run All the configurations.
Also adds the logic in TestConfiguration to switch configurations to Client.
Just a checkpoint (incremental development),... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [
"import java.lang.reflect.Method;"
],
"header": "@@ -20,6 +20,7 @@",
"removed": []
},
{
"added": [
" static void setCurrent(... |
derby-DERBY-1555-d57bbd3f | DERBY-1555 Add configuration decorator to change the default user for a configuaration
and use it in the NistScripts JUnit test. NistScripts is an initial pass at the setup of running
nist under JUnit, it fails at the moment in about a third of the test cases probably due to
output that is being sed'ed in the old harne... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [
" public static Test changeUserDecorator(Test test, String user, String password)",
" {",
" return new ChangeUserSetup(test, user, password);",
... |
derby-DERBY-1555-df2b52c0 | DERBY-1555 DERBY-1701 (partial) Change the name of the TestConfiguration methods to openConnection from getConnection.
Step to having BaseJDBCTestCase.getConnection() be a method matching BaseJDBCTestSetup.getConnection, a handle
to a default connection stored in the instance. This will remove a lot of code in the clas... | [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/BaseJDBCTestSetup.java",
"hunks": [
{
"added": [
" * @see TestConfiguration#openDefaultConnection()"
],
"header": "@@ -60,7 +60,7 @@ public abstract class BaseJDBCTestSetup",
"removed": [
... |
derby-DERBY-1555-e0104e8b | DERBY-1555 (partial) Remove access and use of static variables to store the current test configuration.
Changed to use a ThreadLocal private to TestConfiguration and access to the current configuration
is through utility methods in the base classes or TestConfiguration.getCurrent().
git-svn-id: https://svn.apache.org/... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java",
"hunks": [
{
"added": [],
"header": "@@ -43,9 +43,6 @@ final public class NetworkServerTestSetup extends TestSetup {",
"removed": [
" ",
" this.config = TestCon... |
derby-DERBY-1555-f308936b | DERBY-1555 (partial) Move the code to obtain a default connection into TestConfiuration
for the JUnit test setup to allow it to be shared across multiple classes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@424368 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/TestConfiguration.java",
"hunks": [
{
"added": [
"import java.sql.Connection;",
"import java.sql.DriverManager;",
"import java.sql.SQLException;"
],
"header": "@@ -20,6 +20,9 @@",
... |
derby-DERBY-1555-f7672a4a | DERBY-1555 Add some code to allow different JUnit TestConfigurations at start up based upon if the TestConfiguration
class determines it is running within the old harness or not. Add a utility method to allow JUnit suites or tests
to determine if they are running in the harness or not, and thus have temporary code to e... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [
" /**",
" * Default values for configurations",
" */",
" private final static String DEFAULT_DBNAME = \"wombat\";",
" privat... |
derby-DERBY-1555-fb2bfd52 | DERBY-1555 DERBY-1701 (partial) Incremental step in changing the tests that extend
SURBaseTest to use the single connection provided by BaseJDBCTestCase. Added
initialize method to BaseJDBCTestCase to allow tests to have a consistent
initial state for a connection. The SURBaseTest still has its con variable,
will be cl... | [] |
derby-DERBY-1555-ff658306 | DERBY-1555 DERBY-1701 (partial) Change the tests that extend SURBaseTest to use the utilitiy methods
rather than the con field from SURBaseTest to fit into the generic single connection model provided
by BaseJDBCTestCase. Incremental development, next step will be to remove the con field from SURBaseTest.
git-svn-id:... | [] |
derby-DERBY-1555-ffe3f662 | DERBY-1555 DERBY-1701 (partial) Improve the BaseJDBCTest by adding support for a default connection
exactly like BaseJDBCTestSetup. Provides consistent handling for a connection in the common case
of a test using just one. Removes duplicated/inconistent code across many tests. First step
has the getConnection method ca... | [] |
derby-DERBY-1556-7d16ff3d | DERBY-1556 (partial) Add the initial implementation of a utility method in the JUnit JDBC class to drop a schema
and all of its objects. Will be called by a test decorator I will be committing soon.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@430853 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/JDBC.java",
"hunks": [
{
"added": [
"\t/**",
"\t * Drop a database schema by dropping all objects in it",
"\t * and then executing DROP SCHEMA. If the schema is",
"\t * APP it is cleaned ... |
derby-DERBY-1556-f061ecd1 | DERBY-1556 (partial) Add an initial test decorator that cleans a database using the utility method JDBC.dropSchema.
More work is needed to drop functions, synonyms and handle dependencies between objects.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@430867 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/CleanDatabaseTestSetup.java",
"hunks": [
{
"added": [
"/*",
" *",
" * Derby - Class org.apache.derbyTesting.functionTests.util.CleanDatabase",
" *",
" * Licensed to the Apache S... |
derby-DERBY-1563-c9a2190f | DERBY-1563: derbynet/ShutDownDBWhenNSShutsDownTest.junit fails on
Solaris sparc
The attached patch (derby-1563.diff) fixes the problem by waiting
before checking if the file exists.
Patch contributed by Fernanda Pizzorno.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@425719 13f79535-47bb-0310-995... | [] |
derby-DERBY-1567-648e3486 | DERBY-3902; correct messages.xml and translated files for SQLState 2003.S.4
(was accidentally listed as 2004.S.4 - see also comment in DERBY-1567).
Also fix up MessageBundleTest to ignore two sqlstates that are not exposed to
the user so don't need text.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/c... | [] |
derby-DERBY-1571-196bf05a | DERBY-1571: NetworkServerControlImpl.consoleExceptionPrintTrace()
prints stack trace even when logWriter is null
Made NetworkServerControlImpl.shutdown() set logWriter to a silent
stream instead of null to avoid printing stack traces of expected
exceptions during shutdown.
git-svn-id: https://svn.apache.org/repos/as... | [
{
"file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java",
"hunks": [
{
"added": [
"import java.io.FilterOutputStream;"
],
"header": "@@ -23,6 +23,7 @@ package org.apache.derby.impl.drda;",
"removed": []
},
{
"added": [... |
derby-DERBY-1573-265ba2fa | DERBY-1573: Unsafe synchronization in NetworkServerControlImpl
Contributed by Thomas Nielsen.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@549412 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java",
"hunks": [
{
"added": [
"\t\tPrintWriter lw = logWriter;",
"\t\tif (lw != null)",
"\t\t\tsynchronized (lw) {",
"\t\t\t\te.printStackTrace(lw);"
],
"header": "... |
derby-DERBY-1576-13d34b0c | DERBY-1576: Extend the CASE expression syntax for "simple case"
Forbid untyped parameters in the case operand.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1596492 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1576-2455f1ac | DERBY-1576: Extend the CASE expression syntax for "simple case"
Implement simple case as described by the SQL:1999 standard, including the
SQL:2003 extension F262 "Extended CASE expression", and the SQL:2011
extension F263 "Comma-separated predicates in simple CASE expression".
git-svn-id: https://svn.apache.org/repo... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ConditionalNode.java",
"hunks": [
{
"added": [
" /**",
" * The case operand if this is a simple case expression. Otherwise, it",
" * is {@code null}.",
" */",
" private ... |
derby-DERBY-1576-2bd5cbdb | DERBY-1576: Extend the CASE expression syntax for "simple case"
Allow untyped parameters in the case operand.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1598472 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ConditionalNode.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.sql.compile.Visitable;"
],
"header": "@@ -32,6 +32,7 @@ import org.apache.derby.iapi.services.context.ContextManager;",
"remov... |
derby-DERBY-1576-d75118e9 | DERBY-1576: Extend the CASE expression syntax for "simple case"
Add test cases for subqueries.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1597082 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1576-f2dfe060 | DERBY-1576: Extend the CASE expression syntax for "simple case"
Cache the case operand so that it is only evaluated once per
evaluation of the CASE expression.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1597979 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ConditionalNode.java",
"hunks": [
{
"added": [
" private CachedValueNode caseOperand;"
],
"header": "@@ -50,7 +50,7 @@ class ConditionalNode extends ValueNode",
"removed": [
" private Val... |
derby-DERBY-158-02e0ae52 | Fix for DERBY-158 PRIMARY KEY does not imply NOT NULL
Columns specified in a PRIMARY KEY constraint in CREATE TABLE
are implicitly set to NOT NULL per the SQL spec.
If a PRIMARY KEY constraint is added using ALTER TABLE then all
columns must also be NOT NULL. Similarly, columns
specified in a UNIQUE constraint must ... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/TableElementList.java",
"hunks": [
{
"added": [],
"header": "@@ -33,7 +33,6 @@ import org.apache.derby.iapi.sql.dictionary.ConstraintDescriptor;",
"removed": [
"import org.apache.derby.iapi.sql.dictionary.Column... |
derby-DERBY-1581-4eece411 | DERBY-1581 (partial) Clean-up some descriptor objects as a step to ensuring their identity is immutable
once created and/or fully populated. Remove some unused methods.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@425116 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConstraintDescriptor.java",
"hunks": [
{
"added": [
"\tfinal String\t\t\t\tconstraintName;",
"\tprivate final boolean\t\t\t\tdeferrable;",
"\tprivate final boolean\t\t\t\tinitiallyDeferred;",
"\... |
derby-DERBY-1581-55de888a | DERBY-1581 Avoid reloading the Provider from the data dictionary when
executing an invalidateFor on the Provider. Previosuly the code
when loading the stored dependencies and converting them to an in-memory from
reloaded the provider once per dependent. This patch re-uses the Provider
passed into the invalidateFor meth... | [
{
"file": "java/engine/org/apache/derby/impl/sql/depend/BasicDependencyManager.java",
"hunks": [
{
"added": [
"\t * @param providerForList The provider if this list is being created",
"\t * for a list of dependents. Null otherwise.",
"\tpriv... |
derby-DERBY-1585-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-1585-5b2b352a | DERBY-1585 For a CALL statement that generates dynamic result sets add code so that the result sets are closed if they are inaccessible following the SQL Standard.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@602991 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/jdbc/ConnectionContext.java",
"hunks": [
{
"added": [],
"header": "@@ -21,7 +21,6 @@",
"removed": [
"import org.apache.derby.iapi.error.StandardException;"
]
}
]
},
{
"file": "java/engine/org/apach... |
derby-DERBY-1586-5d18b03d | DERBY-1586 (partial) The attributesAsPassword property doesn't work
correctly with EmbeddedConnectionPoolDataSource
This patch adds a JUnit test which reproduces the bug. The test is not
run in any suite since the bug is not fixed.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@425385 13f79535-47bb... | [] |
derby-DERBY-1589-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-1595-3f3312eb | DERBY-1595: Network server fails with DRDAProtocolException if a BLOB with size 2147483647 is streamed from client
Switched from int to long when dealing with scalar streams, which can be longer
than Integer.MAX_VALUE and cause arithmetic overflow.
Introduced 'nullIndicatorSize' to duplicate less code.
Patch file: d... | [
{
"file": "java/client/org/apache/derby/client/net/Request.java",
"hunks": [
{
"added": [
"import org.apache.derby.client.am.DateTimeValue;",
"import org.apache.derby.shared.common.sanity.SanityManager;",
"import java.io.IOException;"
],
"header": ... |
derby-DERBY-1595-53795a1a | DERBY-1595 (partial): Network server fails with DRDAProtocolException if a BLOB with size 2147483647 is streamed from client
Fixed protocol disagreement, where the client sent eight bytes for the
extended length bytes and the server expected six bytes (changed the client
behavior).
Patch file: derby-1595-1a-client_w... | [
{
"file": "java/client/org/apache/derby/client/am/SignedBinary.java",
"hunks": [
{
"added": [
" /** Maximum value that cen be encoded by 6 bytes (signed). */",
" public static final long MAX_LONG_6_BYTES_SIGNED = 0x7FFFFFFFFFFFL;",
""
],
"hea... |
derby-DERBY-1605-82cb66b5 | DERBY-1605: To determine whether or not JVM has JDBC4, compare with
java.specification.version, not java.vm.version.
Committed for Myrna Van Lunteren <m.v.lunteren@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@427193 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1609-2b477108 | DERBY-1609 (partial) Have ij.runScript use utilMain directly, rather than Main,
to avoid one additional object.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@426893 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/tools/ij.java",
"hunks": [
{
"added": [
"import org.apache.derby.impl.tools.ij.utilMain;"
],
"header": "@@ -26,6 +26,7 @@ import org.apache.derby.iapi.tools.i18n.LocalizedOutput;",
"removed": []
},
{
"... |
derby-DERBY-1609-2d5faea2 | DERBY-1609 (partial) Minor cleanup in ij.Main.java, remove unused field & method
and make two public fields private.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@426671 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/Main.java",
"hunks": [
{
"added": [
"\tprivate LocalizedOutput out;",
"\tprivate utilMain utilInstance;"
],
"header": "@@ -57,11 +57,8 @@ import java.util.*;",
"removed": [
"\tpublic Loca... |
derby-DERBY-1609-351dad86 | DERBY-1609 (partial) Fix a security exception reading the system property ij.showErrorCode.
Add code to return an error count for runScript (still needs to be tested).
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@433273 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/utilMain.java",
"hunks": [
{
"added": [
"\t/**",
"\t * True if to display the error code when",
"\t * displaying a SQLException.",
"\t */",
"\tprivate final boolean showErrorCode;"
],... |
derby-DERBY-1609-43e6994a | DERBY-1609 (partial) Move initializing connections from system properties
in ij's utilMain into a separate method from the constructor. Allows ij's
runScript method to create a constructor without creating unrequired
connections based upon System properties.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/t... | [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/Main.java",
"hunks": [
{
"added": [],
"header": "@@ -57,7 +57,6 @@ import java.util.*;",
"removed": [
"\tprivate LocalizedOutput out;"
]
},
{
"added": [
"\tprivate void go(Local... |
derby-DERBY-1609-79b6c666 | DERBY-1609 (partial) Remove some unused code in JDBCDisplayUtil.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@433274 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/tools/JDBCDisplayUtil.java",
"hunks": [
{
"added": [],
"header": "@@ -67,40 +67,6 @@ public class JDBCDisplayUtil {",
"removed": [
"",
"\t//-----------------------------------------------------------------",
"... |
derby-DERBY-1609-95011a07 | DERBY-1609 Add IJRunScriptTest and _Suite JUnit tests for the testing of ij.runScript.
Modify runScript to take an OutputStream instead of a PrintStream, fix it to
correctly return the number of errors seen while running the script.
Add utility methods to BaseJDBCTestCase to run setup scripts from an InputStream or a S... | [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/utilMain.java",
"hunks": [
{
"added": [
" ",
" /**",
" * Value of the system property ij.execptionTrace",
" */",
" private final String ijExceptionTrace;"
],
... |
derby-DERBY-1609-a5a98ce8 | DERBY-1609 (partial) Add a runScript method to ij. Initial version runs a script
successfully using the passed in connection. More work is needed to avoid the
standard ij startup which opens connections and to return the number of errors.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@426849 13f79535... | [
{
"file": "java/tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java",
"hunks": [
{
"added": [
"\tprivate static final boolean HAVE_BIG_DECIMAL;",
"\tstatic {"
],
"header": "@@ -44,9 +44,9 @@ import java.sql.Types;",
"removed": [
"... |
derby-DERBY-1610-211c9859 | - DERBY-1610 Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver - Fix to resolve error in jdk13 test of compatibility suite - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@454098 13f79535-47bb-0310-9956-ffa4... | [
{
"file": "java/client/org/apache/derby/client/am/PreparedStatement.java",
"hunks": [
{
"added": [
" final int paramType = getColumnMetaDataX().getColumnType(parameterIndex) ;"
],
"header": "@@ -405,7 +405,7 @@ public class PreparedStatement extends Sta... |
derby-DERBY-1610-486f51a8 | - DERBY-1610 Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@453886 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/PreparedStatement.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.services.sanity.SanityManager;",
"import java.util.Arrays;"
],
"header": "@@ -23,11 +23,13 @@ package org.apache.derby.client.am;... |
derby-DERBY-1610-a2006aed | DERBY-1610: Resolve difference of type compatibility between Embedded
and NetworkServer/NetworkDriver
Fixed failures in the JDBC 4.0 tests. Description of the patch:
* Check for unsupported types before checking incompatibilities
since JDBC 4.0 specifies that SQLFeatureNotSupportedException
should be raised... | [
{
"file": "java/client/org/apache/derby/client/am/PreparedStatement.java",
"hunks": [
{
"added": [
"",
" checkForClosedStatement();",
"",
" // JDBC 4.0 requires us to throw",
" // SQLFeatureNotSuppor... |
derby-DERBY-1610-bc52552f | - DERBY-1610 Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver - adjust index for parameter using checkForEscapedCallWithResult method. - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@454312 13f79535-47bb-0... | [
{
"file": "java/client/org/apache/derby/client/am/PreparedStatement.java",
"hunks": [
{
"added": [
" final int paramType = ",
" getColumnMetaDataX().getColumnType( checkForEscapedCallWithResult(parameterIndex) ) ;"
],
"heade... |
derby-DERBY-1612-e87a9fde | DERBY-1612 (partial) If revoke statement finds a constraint dependent on the table/column on which privilege
is being revoked, the constraint will be dropped automatically. This functionality is similar to what is
supported for triggers and views. And just like triggers and views, more work is required so that constrai... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConstraintDescriptor.java",
"hunks": [
{
"added": [
"import org.apache.derby.impl.sql.execute.DropConstraintConstantAction;",
""
],
"header": "@@ -35,6 +35,8 @@ import org.apache.derby.iapi.services... |
derby-DERBY-1614-fe549441 | DERBY-1614: Do not set any heap size flags or network server apart from those
specified by the jvmflags property.
Committed for John Embretsen <John.Embretsen@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@429550 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/harness/NetServer.java",
"hunks": [
{
"added": [
" // Set no flags by default (DERBY-1614).",
" // The jvmflags property can be used to set any kind of JVM option."
],
"heade... |
derby-DERBY-1618-479e2bca |
DERBY-1618: (store/BootAllTest.junit fails on with jdk13 based jvms)
Patch Contributed by Myrna van Lunteren.
On jdk131, in the situation invoked by the testSettingBootAllPropertyWithHomePropertySet()
test in BootAllTest.java, when the DriverPropertyInfo.choices were accessed.
the problem was because in BaseMonitor... | [] |
derby-DERBY-1620-a1d6109b | DERBY-1620: Minor cleanup to follow svn # 520173, plus a new JUnit test to
verify the behavior fixed with DERBY-1620.
Contributed by: John Peterson (john.peterson@pega.com)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@544974 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ConditionalNode.java",
"hunks": [
{
"added": [
"\t/**",
"\t * Checks if the provided node is a CastNode.",
"\t *",
"\t * @param node\tThe node to check.",
"\t * @return \t\tTrue if this n... |
derby-DERBY-1620-fa3b4252 | DERBY-1620: Changes to look more closely at the "then" and "else" nodes
of an SQL CASE statement and, in situations where one or more SQL NULLs
exist, to cast the NULLs to an appropriate type (instead of just casting
them to CHAR, which is what Derby did previously).
Contributed by: John Peterson (john.peterson@pega.c... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ConditionalNode.java",
"hunks": [
{
"added": [
"\tprivate boolean isCastNode(ValueNode node) {",
"\t\tif (node.getNodeType() == C_NodeTypes.CAST_NODE)",
"\t\t\treturn true;",
"\t\telse",
... |
derby-DERBY-1621-3d7a3d4b | DERBY-1621: Commit derby1621trunkdiff04.txt, causing recompilation of trigger actions after ddl.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@434046 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/depend/DependencyManager.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.store.access.TransactionController;"
],
"header": "@@ -27,6 +27,7 @@ import org.apache.derby.iapi.error.StandardException;",
... |
derby-DERBY-1623-a0f12c0e | DERBY-1623: Fix javadoc errors caused by svn 546183.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@546652 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/SQLChar.java",
"hunks": [
{
"added": [
"\t *",
"\t * @param trimType Type of trim (LEADING, TRAILING, or BOTH)",
"\t * @param trimChar Character to trim",
"\t * @param source String from which to tr... |
derby-DERBY-1630-ff5c96fc | DERBY-1630: Remove reference to engine class in NetConnection40. Generate
client exception using client.am.SqlException.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@428065 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/net/NetConnection40.java",
"hunks": [
{
"added": [
"import java.sql.SQLClientInfoException;"
],
"header": "@@ -26,12 +26,12 @@ import java.sql.QueryObjectFactory;",
"removed": [
"import java.sql.SQLClien... |
derby-DERBY-1633-cafb31f9 | DERBY-1681, submitted by Army Brown
Fixes the following issue:
If Derby chooses to do a join between two FromTables and the right table is a chain of UNIONs, then the optimizer may choose to push the join predicate (if provided) down into the UNION and to both children of every UNION in the chain. But if the predicate... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java",
"hunks": [
{
"added": [
"\t\t/* Now see if there are any left over predicates; if so, then we",
"\t\t * have to generate a ProjectRestrictNode. Note: we walk the",
"\t\t * entire chai... |
derby-DERBY-1633-df88f639 | DERBY-1633: Commit Army's d1633_v3 patches, fixing the regression introduced by DERBY-805 in the behavior of views that involve joins.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@434111 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/BinaryRelationalOperatorNode.java",
"hunks": [
{
"added": [
"\t * exactly one operand in the predicate to which this operator belongs"
],
"header": "@@ -1267,7 +1267,7 @@ public class BinaryRelationalOperatorNod... |
derby-DERBY-1638-481d0c6d | DERBY-1638 Add methods to JDBC for JUnit that indicates if the virtual machine environment
supports JDBC 2,3 or 4 and JSR169. Naming of methods indicates that the define the vm
level of support rather than the clients level.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@429154 13f79535-47bb-0310-995... | [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/TestConfiguration.java",
"hunks": [
{
"added": [],
"header": "@@ -25,8 +25,6 @@ import java.sql.DriverManager;",
"removed": [
"import org.apache.derby.iapi.services.info.JVMInfo;",
""
... |
derby-DERBY-1643-71408abc | DERBY-1643 Rename the Dependency manager invalidation constant to represent its use of revoke restrict.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@430170 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConstraintDescriptor.java",
"hunks": [
{
"added": [
"\t\t\t//When REVOKE_PRIVILEGE gets sent (this happens for privilege ",
"\t\t\t//types SELECT, UPDATE, DELETE, INSERT, REFERENCES, TRIGGER), we ",
"\t\... |
derby-DERBY-1643-f8fa8cfa | DERBY-1643 In Derby, the execute permission on a routine can't be revoked as long as there are dependent objects
relying on that permissions. This patch implements that behavior by adding a new revoke invalidation action
REVOKE_EXECUTE_PRIVILEGE, just for routine revoke. This invalidation gets sent when a revoke execut... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/ConstraintDescriptor.java",
"hunks": [
{
"added": [
"\t\t\t//Notice that REVOKE_EXECUTE_PRIVILEGE is not included here.",
"\t\t\t//In Derby, at this point, a constraint can't depend on a ",
"\t\t //rou... |
derby-DERBY-1644-0958c84f | DERBY-1644: NPE when inserting values to tbl w/ identity col gen by default
When the VALUES clause encounters multiple rows, it generates a UNION
node tree to combine the rows to be inserted. InsertNode notices the
top-level UNION node and calls the special checkAutoincrementUnion()
method which knows how to recursive... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/InsertNode.java",
"hunks": [
{
"added": [
"\t\tenhanceAndCheckForAutoincrement(resultSet, inOrder,",
"\t\t\t\tnumTableColumns, colMap, dataDictionary,",
"\t\t\t\ttargetTableDescriptor, targetVTI);"
]... |
derby-DERBY-1644-a8db6658 | DERBY-4442: Default value and identity in an INSERT result set evaluated too early
Always add a ProjectRestrictNode on top of the source result set for an
insert if the source columns are not ordered the same way as the target
columns, or if inserting into a subset of the columns, and the source is not
a table constru... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/InsertNode.java",
"hunks": [
{
"added": [
"\t\tresultSet = enhanceAndCheckForAutoincrement(resultSet, inOrder, colMap);"
],
"header": "@@ -411,9 +411,7 @@ public final class InsertNode extends DMLModStatementNod... |
derby-DERBY-1652-dd2accde | DERBY-1652, submitted by Yip Ng
The cause of the problem is that the trigger descriptor is created after the stored prepared statement(SPS) has been compiled, so the compiled form of the SPS is not aware of that its trigger action can fire on the trigger table itself. Hence, the constant action was not generated corre... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/CreateTriggerConstantAction.java",
"hunks": [
{
"added": [
"\t\tactionSPSId = (actionSPSId == null) ? ",
"\t\t\tdd.getUUIDFactory().createUUID() : actionSPSId;",
" ",
"\t\t** Create the trigger des... |
derby-DERBY-1664-621d67a1 | DERBY-1664: (Partial) This is the first pass at a test that can be used
to gauge how long it takes to do each part of the startup process.
This could likely be extended to also test how long it takes to create
tables of different size, how long it takes to insert rows, etc.
git-svn-id: https://svn.apache.org/repos/... | [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/JarUtil.java",
"hunks": [
{
"added": [
"/*",
" ",
" Derby - Class org.apache.derbyTesting.functionTests.util.JartUtil",
" ",
" Licensed to the Apache Software Foundation (AS... |
derby-DERBY-1665-e38e660c | DERBY-1665 (partial): fix formatting of javadoc for iapi.store.access.Qualifier.
The content of the javadoc for this class needs a review to address the other
comments in this JIRA issue.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@446536 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/store/access/Qualifier.java",
"hunks": [
{
"added": [
" <p>"
],
"header": "@@ -26,7 +26,7 @@ import org.apache.derby.iapi.types.DataValueDescriptor;",
"removed": [
""
]
},
{
"a... |
derby-DERBY-1674-55f1cc92 | DERBY-1674 (partial) Move PermissionsCatalogRowFactory into its correct location under impl/sql/catalog.
System tables are a detail of the catalog implementation, not the dictionary api. The class was only ever referenced
in the impl/sql/catalog package.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk... | [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [],
"header": "@@ -29,7 +29,6 @@ import org.apache.derby.iapi.sql.conn.Authorizer;",
"removed": [
"import org.apache.derby.iapi.sql.dictionary.PermissionsCatalogRo... |
derby-DERBY-1674-5b76a527 | DERBY-1674 (partial) Remove IndexScan class from impl.sql.catalog as it is never used.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@433685 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/IndexScan.java",
"hunks": [
{
"added": [],
"header": "@@ -1,198 +0,0 @@",
"removed": [
"/*",
"",
" Derby - Class org.apache.derby.impl.sql.catalog.IndexScan",
"",
" Li... |
derby-DERBY-1674-7aa6fa86 | DERBY-1674 (partial) CatalogRowFactory.buildEmptyIndexRow() row was implemented in all the sub-classes but could
never be called, except for SYSTABLESRowFactory. Seen by code inspection and double checked with the code
coverage. Remove all the methods (except SYSTABLESRowFactory) and abstract definition in CatalogRowFa... | [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/SYSTABLESRowFactory.java",
"hunks": [
{
"added": [
"class SYSTABLESRowFactory extends CatalogRowFactory"
],
"header": "@@ -55,7 +55,7 @@ import org.apache.derby.iapi.services.uuid.UUIDFactory;",
"removed... |
derby-DERBY-1674-8d26d289 | DERBY-1674 (partial) Remove TabInfo interface as the implementation of system tables is private to the impl/sql/catalog package.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@437823 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/TabInfoImpl.java",
"hunks": [
{
"added": [],
"header": "@@ -30,7 +30,6 @@ import org.apache.derby.iapi.sql.conn.LanguageConnectionContext;",
"removed": [
"import org.apache.derby.iapi.sql.dictionary.TabInfo;"
... |
derby-DERBY-1674-a7d7f12f | DERBY-1674 Remove some unused methods related to TabInfo classes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@433632 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java",
"hunks": [
{
"added": [],
"header": "@@ -272,21 +272,6 @@ public interface DataDictionary",
"removed": [
"\t/**",
" \t *\tGet the tabinfo of a system catalog. Paw through the ... |
derby-DERBY-1674-c4c6000f | DERBY-1674 (partial) Clean up SystemColumn interface and implementation to hold the data type of
the column using the standard DataTypeDescriptor class rather than individual fields.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@432895 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/SystemColumn.java",
"hunks": [
{
"added": [
"",
""
],
"header": "@@ -20,10 +20,9 @@",
"removed": [
"import org.apache.derby.iapi.error.StandardException;",
"import org.ap... |
derby-DERBY-1674-f7e090fc | DERBY-1674 (partial) Step towards removing iapi.sql.dictionary.TabInfo as its implementation TabInfoImpl
should be package private to impl.sql.catalog. All references now use TabInfoImpl directly instead
of TabInfo. Next step is to move the javadoc comments from TabInfo into TabInfoImpl and remove the class.
Simplify T... | [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java",
"hunks": [
{
"added": [],
"header": "@@ -30,7 +30,6 @@ import org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor;",
"removed": [
"import org.apache.derby.iapi.sql.dictionary.TabInfo;"
... |
derby-DERBY-1675-3c53f6c2 | DERBY-1675: Network Server should not send to client that it supports
EUSRIDPWD when running against Sun JVM
Updating comments. Patch contributed by Sunitha Kambhampati.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@441779 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java",
"hunks": [
{
"added": [
" /**",
" * Can EUSRIDPWD security mechanism be used with ",
" * the current JVM",
" */",
" /*",
" * DRDA Sp... |
derby-DERBY-1675-b4e48e9c | DERBY-1675
contributed by Sunitha Kambhampati
USRIDPWD support depends on the JCE available in the classpath of the server
This patch(derby1675.diff.txt) does the following
1. Add code to check if server jvm can support EUSRIDPWD.
2. Throw an error if the derby.drda.securityMechanism is set to ENCRYPTED_USER_AND_PASS... | [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java",
"hunks": [
{
"added": [
" if (((securityMechanism != CodePoint.SECMEC_EUSRIDPWD) ||",
" (securityMechanism == CodePoint.SECMEC_EUSRIDPWD && ",
... |
derby-DERBY-1681-cafb31f9 | DERBY-1681, submitted by Army Brown
Fixes the following issue:
If Derby chooses to do a join between two FromTables and the right table is a chain of UNIONs, then the optimizer may choose to push the join predicate (if provided) down into the UNION and to both children of every UNION in the chain. But if the predicate... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java",
"hunks": [
{
"added": [
"\t\t/* Now see if there are any left over predicates; if so, then we",
"\t\t * have to generate a ProjectRestrictNode. Note: we walk the",
"\t\t * entire chai... |
derby-DERBY-1686-17f76265 | DERBY-1686 The original fix retrieves all the relevent providers such as table, view, and routine descriptor(s)
of the given view at bind time and pass this information to runtime later
for it to determine if the privilege is grantable or not by the grantor.
Patch contributed by Yip Ng - yipng168@gmail.com
git-svn-id:... | [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [
" return getUncachedTablePermsDescriptor( key );"
],
"header": "@@ -9968,7 +9968,7 @@ public final class\tDataDictionaryImpl",
"removed": [
... |
derby-DERBY-1688-cc8ea120 | DERBY-1688: ConsistencyToken.hashCode() is not thread safe
Rewrite the method to use a thread-safe approach as suggested by The
"Double-Checked Locking is Broken" Declaration.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@431603 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/ConsistencyToken.java",
"hunks": [
{
"added": [
" // ConsistencyToken objects might be kept for a long time and are",
" // frequently used as keys in hash tables. Therefore, it is a good idea",
" ... |
derby-DERBY-1691-c4ce097d | DERBY-1691 blobclob4BLOB.java fails under DerbyNet framework. Fixed by printing stack traces to stdout. Contributed by Oystein.Grovlen@sun.com
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@442199 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1694-02a8e2e3 | DERBY-1694
contributed by Sunitha Kambhampati
I was looking at the testProperties issue that caused problems because of test hang. The test doesnt hang in my environment but I thought I would look to see why the test didnt timeout.
I found couple of issues here:
0. The testProperties.java and several networkserver te... | [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/harness/ProcessStreamResult.java",
"hunks": [
{
"added": [
"",
" /**",
" * Flag to find out if the work was finished ",
" * successfully without being interrupted ",
" ... |
derby-DERBY-1694-68a8fb10 | DERBY-1694 Cleanup derbynet/testProperties so that it always handles the output from the processes it forks.
Not handling the output can lead to hangs according to the javadoc for java.lang.Process.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@431697 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-1698-b9df96ab | DERBY-1698, contributed by Deepa Remesh
adds an additional test to jdbcapi/SetQueryTimeoutTest.java. This patch adds a test for executeUpdate method call.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@436904 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-170-505bb8a1 | DERBY-1533: ArrayIndexOutOfBoundsException in DDMReader
DERBY-1533 follows in a series of bugs (DERBY-170, DERBY-428, DERBY-491,
DERBY-492, DERBY-614 among others) which have to do with the particulars of
the DRDA protocols used for handling long messages and large amounts of data.
In this particular issue, the proble... | [
{
"file": "java/drda/org/apache/derby/impl/drda/DDMReader.java",
"hunks": [
{
"added": [
"\t\tif (length < DssConstants.MAX_DSS_LENGTH)"
],
"header": "@@ -1321,7 +1321,7 @@ class DDMReader",
"removed": [
"\t\tif (length < dssLength)"
]
... |
derby-DERBY-170-fc30c5f2 | DERBY-170 Inserting large string value into non-existent table causes communication link failure over Network Server.
Attached is a proposed patch for DERBY-170, which teaches the skipDSS method how to handle segmented DDM objects. changes.html attached to DERBY-170 provides a bit of background and discussion for t... | [
{
"file": "java/drda/org/apache/derby/impl/drda/DDMReader.java",
"hunks": [
{
"added": [
"\t\twhile (dssIsContinued)",
"\t\t{",
"\t\t\tskipBytes((int)dssLength);",
"\t\t\treadDSSContinuationHeader();",
"\t\t}"
],
"header": "@@ -... |
derby-DERBY-1700-9e6e461e | DERBY-1700 Next step that changes the methods in ResultSetFactory not to have a closeCleanup method parameter
which due to the previous patches was always being passed in as null. Changed all callers to not pass the null
and thus remove the closeMethodArgument in ResultSetNode.
Since most of the calls are to ResultSetF... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java",
"hunks": [
{
"added": [],
"header": "@@ -293,7 +293,6 @@ public interface ResultSetFactory {",
"removed": [
"\t\t@param closeCleanup\tany cleanup the activation needs to do on close."
... |
derby-DERBY-1700-a30fb433 | DERBY-1700 (partial) Initial version of a TimeHandlingTest that includes tests for CURRENT TIME.
Will expand to also test CURRENT DATE and CURRENT TIMESTAMP.
Not yet added to the suites.
Improve CleanDatabaseTestSetup to allow it to be the super-class for a decorator that
performs initial schema setup with automatic dr... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/CleanDatabaseTestSetup.java",
"hunks": [
{
"added": [
"import org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest;",
""
],
"header": "@@ -24,6 +24,8 @@ import java.util.ArrayList;",
... |
derby-DERBY-1700-f77f36d1 | DERBY-1700 Patch the removes closeCleanup from ResultSet implementations:
- remove any field storing the reference to a close cleanup method
- remove any calling of the method
- remove passing the reference to the method in the constructor.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@441232 13f... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java",
"hunks": [
{
"added": [
"\t\t\t\t\t\t\t\t\t\t0);"
],
"header": "@@ -1473,8 +1473,7 @@ public abstract class BaseActivation implements CursorActivation, GeneratedByteC",
"removed": [... |
derby-DERBY-1701-09ffc9bc | DERBY-1555 DERBY-1701 (partial) Convert more tests to use the instance based get[X]Connection method
or the static openDefault method.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@432028 13f79535-47bb-0310-9956-ffa450edef68
| [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.