id stringlengths 22 25 | commit_message stringlengths 137 6.96k | diffs listlengths 0 63 |
|---|---|---|
derby-DERBY-5663-6a072f82 | DerbyDERBY-5663 Getting NPE when trying to set derby.language.logStatementText property to true inside a junit suite.
It is possible that the same instance of SystemPropertyTestSetup decorator is used more than once. In such a case, nulling out the oldValues in tearDown method can cause a null pointer exception in the... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/SystemPropertyTestSetup.java",
"hunks": [
{
"added": [],
"header": "@@ -51,7 +51,6 @@ public class SystemPropertyTestSetup extends TestSetup {",
"removed": [
"\t\tthis.oldValues = new Properties();"
]
... |
derby-DERBY-5664-47bae99a | DERBY-5664: Include driver tests in jdbcapi suite
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1303693 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5667-085b6e54 | DERBY-5667; testReadCommitted(org.apache.derbyTesting.functionTests.tests.store.UpdateLocksTest)junit.framework.AssertionFailedError: Missing rows in ResultSet
adding call to wait for post-commit work after deletes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330066 13f79535-47bb-0310-9956-ffa... | [] |
derby-DERBY-5667-b27d8ec1 | DERBY-5667; testReadCommitted(org.apache.derbyTesting.functionTests.tests.store.UpdateLocksTest)junit.framework.AssertionFailedError: Missing rows in ResultSet
Adding wait_for_post_commit calls after commits following updates;
changing JDBC.assertRSContains() to print out more details if there are missing rows.
... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/JDBC.java",
"hunks": [
{
"added": [
" String message = \"Missing rows in ResultSet; \\n\\t expected rows: \\n\\t\\t\" ",
" + expected + \"\\n\\t actual result: \\n\\t\\t\" + actual;",
... |
derby-DERBY-5667-c748453a | DERBY-5667; testReadCommitted(org.apache.derbyTesting.functionTests.tests.store.UpdateLocksTest)junit.framework.AssertionFailedError: Missing rows in ResultSet
adjusting the test so every commit following a delete is followed in turn
by a call to wait for post-commit threads to finish.
git-svn-id: https://svn.ap... | [] |
derby-DERBY-567-6e7bbc8c | DERBY-688: Enhancements to XML functionality toward XPath/XQuery support
This revision contains d688_phase1_v3.patch.
This patch was contributed by Army Brown (qozinx@gmail.com).
Attaching a "phase 1" patch, d688_phase1_v1.patch, for this issue that does the following:
1. Reorganizes XML-specific code as follows:... | [
{
"file": "java/engine/org/apache/derby/iapi/types/XML.java",
"hunks": [
{
"added": [],
"header": "@@ -46,28 +46,6 @@ import java.io.ObjectOutput;",
"removed": [
"import org.xml.sax.ErrorHandler;",
"import org.xml.sax.XMLReader;",
"import org.xml.s... |
derby-DERBY-5677-c1192c0b | DERBY-5677: ClassNotFoundException when running suites.All without derbynet.jar
Exclude tests that cannot run without derbynet.jar if the network server
classes are not available on the classpath.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1308434 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5678-70bfa379 | DERBY-5678: LocalizedDisplayScriptTest fails on JVMs that don't support EUC_JP encoding
Skip the test on platforms that don't support EUC_JP.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1308436 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5679-3abd440f | DERBY-5679: Fill nonexistent columns with NULLS during update of later column in the row.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330877 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java",
"hunks": [
{
"added": [
" * COLUMN_CREATE_NULL - the column was recently added.",
" * it doesn't actually exist in the on-disk row yet.",
" * ... |
derby-DERBY-5679-76b75c3e | DERBY-5679: Add more test cases to verify correct behavior of rollback on rows with lots of columns and on long rows.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1331484 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5680-7e333995 | DERBY-5680: indexStat daemon processing tables over an over even when there are no changes in the tables
Added functionality in the update statistics code to drop statistics considered
disposable; orphaned (i.e. the referenced index doesn't exist), or not
required (the optimizer doesn't need the statistics).
Disposab... | [
{
"file": "java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java",
"hunks": [
{
"added": [
"import java.util.List;"
],
"header": "@@ -23,6 +23,7 @@ package org.apache.derby.impl.services.daemon;",
"removed": []
},
{
... |
derby-DERBY-5680-a2f00b4a | DERBY-6283 indexStat daemon processing tables over and over even when there are no changes in the tables in soft upgraded database.
Changed system to always drop orphaned stats during update statistics call.
Without this change soft upgraded systems running on 10.8 or higher derby
software, that had an orphaned st... | [
{
"file": "java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java",
"hunks": [
{
"added": [
"",
" // can only properly identify disposable stats if cds == null, ",
" // which means we are processing all indexes on the conglo... |
derby-DERBY-5681-29a19ff9 | DERBY-5681 When a foreign key constraint on a table is dropped, the associated statistics row for the conglomerate is not removed
This problem happens because when two constraints share the same backing index, we conditionally dropped the statistics. Instead, this fix will make sure that the statistics are always drop... | [] |
derby-DERBY-5681-a6a07338 | DERBY-4115 Provide a way to drop statistics information
The details of all the changes in this commit are listed below.
1)Added a new routine SYSCS_DROP_STATISTICS, with public access similar to SYSCS_UPDATE_STATISTICS. This happens in DataDictionaryImpl, where SYSCS_DROP_STATISTICS is added to the list of public acc... | [
{
"file": "java/engine/org/apache/derby/catalog/SystemProcedures.java",
"hunks": [
{
"added": [
"\t * @exception SQLException"
],
"header": "@@ -733,7 +733,7 @@ public class SystemProcedures {",
"removed": [
"\t * @exception StandardException Sta... |
derby-DERBY-5681-b0e73bc6 | DERBY-5681: When a foreign key constraint on a table is dropped, the associated statistics row for the conglomerate is not removed
Made test less sensitive to statistics created by other tests.
Patch file: derby-5681-3a-test.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1341002 13f79535-47bb... | [] |
derby-DERBY-5681-c1e0f8ee | DERBY-4115/DERBY-5681: Provide a way to drop statistics information
Moved upgrade test from BasicSetup to Changes10_9.
Includes some simplifications that could be made because of the move.
Patch file: derby-4115-7a-move_test.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1341059 13f79535-47bb... | [] |
derby-DERBY-5683-7840c516 | DERBY-5683: BaseJDBCTestCase.getDatabaseProperty() should close resources before returning
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1310413 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5686-15097dd7 | DERBY-5686; multiple intermittent errors in nightly tests during DriverMgrAuthenticationTest test. reason: An SQL data change is not permitted for a read-only connection, user or database.
updating retry logic in DatabasePropertyTestSetup
also adding code to CleanDatabaseTestSetup to catch any test leaving a
con... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/CleanDatabaseTestSetup.java",
"hunks": [
{
"added": [
" // See DERBY-5686 - perhaps there's a test that leaves a ",
" // connection in read-only state - let's check here and ",
" // if ther... |
derby-DERBY-5686-75e97c18 | DERBY-5686; multiple intermittent errors in nightly tests during DriverMgrAuthenticationTest test. reason: An SQL data change is not permitted for a read-only connection, user or database.
Another attempt to catch the error and print info - now if it happens in
DatabasePropertyTestSetup.setUp.
git-svn-id: https... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/DatabasePropertyTestSetup.java",
"hunks": [
{
"added": [
" System.out.println(\"Apparently this is a read-only connection in teardown()? Get some data:\");"
],
"header": "@@ -292,7 +292,7 @@ public c... |
derby-DERBY-5686-7aa3f882 | DERBY-5686: multiple intermittent errors in nightly tests during DriverMgrAuthenticationTest test. reason: An SQL data change is not permitted for a read-only connection, user or database.
Make assertDirectoryDeleted accept if the root directory disappears under it
even if it couldn't delete all the files inside. The ... | [] |
derby-DERBY-5686-eb472301 | DERBY-5686; multiple intermittent errors in nightly tests during DriverMgrAuthenticationTest test. reason: An SQL data change is not permitted for a read-only connection, user or database.
implementing a change that waits for completely shutting down of the database.
git-svn-id: https://svn.apache.org/repos/asf/db/... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/ConnectionPoolDataSourceConnector.java",
"hunks": [
{
"added": [
" getPooledConnection().getConnection();",
" config.waitForShutdownComplete(getDatabaseName());"
],
"header": "@@ -15... |
derby-DERBY-5686-f5bfd989 | DERBY-5686; multiple intermittent errors in nightly tests during DriverMgrAuthenticationTest test. reason: An SQL data change is not permitted for a read-only connection, user or database.
committing patch DERBY_5686_1.diff (after removing some unnecessary imports).
Hopefully this will give us at least some insigh... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/DatabasePropertyTestSetup.java",
"hunks": [
{
"added": [
" clearProperties(conn);",
" // To try to prevent the error situation of DERBY-5686, which",
" // cascades to many test ... |
derby-DERBY-5687-c69fcab5 | DERBY-5687: Adjust the public api javadoc for SequencePreallocator so that it no longer refers to identity columns.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1311310 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/catalog/SequencePreallocator.java",
"hunks": [
{
"added": [
" * Logic to determine how many values to pre-allocate for a sequence.",
" * By default, Derby boosts concurrency by pre-allocating ranges of numbers for sequences.",
... |
derby-DERBY-5693-5d3b815a | DERBY-5693: BUILTIN should say passwords are hashed not encrypted
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1327910 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/authentication/AuthenticationServiceBase.java",
"hunks": [
{
"added": [
" * User passwords are hashed using a message digest algorithm",
" * if they're stored in the database. They are not hashed",
" * The password... |
derby-DERBY-5701-673b7a79 | DERBY-5701: Make UpdatableResultSetTest less hungry on heap space
Close statements earlier.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1329148 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5702-a6a07338 | DERBY-4115 Provide a way to drop statistics information
The details of all the changes in this commit are listed below.
1)Added a new routine SYSCS_DROP_STATISTICS, with public access similar to SYSCS_UPDATE_STATISTICS. This happens in DataDictionaryImpl, where SYSCS_DROP_STATISTICS is added to the list of public acc... | [
{
"file": "java/engine/org/apache/derby/catalog/SystemProcedures.java",
"hunks": [
{
"added": [
"\t * @exception SQLException"
],
"header": "@@ -733,7 +733,7 @@ public class SystemProcedures {",
"removed": [
"\t * @exception StandardException Sta... |
derby-DERBY-5704-6e35772a | DERBY-5704: Various cleanups in CoalesceTest
Remove the instance variables to make it easier to release resources.
Make sure negative test cases fail if no exception is thrown.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330195 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5705-fcaa724a | DERBY-5705: Authorization decorators don't null out connections when done
- Callers that override DatabasePropertyTestSetup.tearDown() with an
empty method are replaced by calls to getNoTeardownInstance().
- Make the tearDown() method in decorators returned by
getNoTeardownInstance() close and null out the refere... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [
" Test setSQLAuthMode = DatabasePropertyTestSetup.getNoTeardownInstance(",
" test, sqlAuth, true);"
],
"header": "@@ -911,11 +911,8 @... |
derby-DERBY-5706-ce3737f7 | DERBY-5706: Clean up statements in CreateTableFromQueryTest
Stop storing the statement in an instance variable, so that it is
automatically closed and forgotten by the framework.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1329633 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5707-980db345 | DERBY-5707: Clean up statements in CharUTF8Test
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1329686 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5708-90b6f2f0 | DERBY-5708: simpleThread test doesn't release connection
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330197 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-571-0e9ddda2 | DERBY-571 Fix SYSCS_INPLACE_COMPRESS_TABLE to ignore VTI tables, like it ignores views.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@345595 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/db/OnlineCompress.java",
"hunks": [
{
"added": [
" switch (td.getTableType())",
" /* Skip views and vti tables */",
" case TableDescriptor.VIEW_TYPE:",
" case TableD... |
derby-DERBY-571-ddc6f41f | DERBY-571 Virtual Table Mapping for no argument Diagnostic tables
Add code to map from a table definition to a vti constuctor at compile
time. Only supported for no-argument virtual tables and limited
to table driven set of diagnostic tables, lock_table, transaction_table,
statment_cache and error_messages. Initial ste... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/compile/NodeFactory.java",
"hunks": [
{
"added": [
"import java.util.Properties;",
"",
"import org.apache.derby.iapi.sql.dictionary.TableDescriptor;"
],
"header": "@@ -20,9 +20,12 @@",
"remov... |
derby-DERBY-5712-fd2f1f73 | DERBY-5712: CheckConstraintTest holds on to resources after completion
Use local variables instead of instance variables to prevent references from
being held after the test has finished.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330199 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5713-30158120 | DERBY-5713: AlterTableTest holds on to resources after completion
Use local variables instead of instance variables to prevent references from
being held after the test has finished.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330200 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5714-082f2ede | DERBY-5714: ColumnDefaultsTest holds on to resources after completion
Use local variables instead of instance variables to prevent references from
being held after the test has finished.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330201 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5715-a3b9db04 | DERBY-5715: InbetweenTest holds on to resources after completion
Use local variables instead of instance variables to prevent objects
from being held after the test completes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330206 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5716-cbce5601 | DERBY-5716: TimestampArithTest keeps references to statements after completion
- Add tearDown() method that closes the statements and clears the
references to them
- Make the test data set static so that it is not cloned with one
identical set for every test case
git-svn-id: https://svn.apache.org/repos/asf/db/d... | [] |
derby-DERBY-5718-6001ab60 | DERBY-5718: UniqueConstraintSetNullTest calls super.tearDown() too early
Call super.tearDown() last in tearDown(), and use framework helper methods
in setUp() and tearDown() to simplify and make resources freed automatically.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1330202 13f79535-47bb-0310-... | [] |
derby-DERBY-5719-8bc55f33 | DERBY-5719: UniqueConstraintMultiThreadedTest doesn't call super.tearDown()
- Call super.tearDown() from the override
- Use framework helper methods to simplify setUp() and tearDown()
- Eliminate the shared DataSource instance (use openDefaultConnection()
instead)
- Remove unused imports
- Fix some typos in java... | [] |
derby-DERBY-5729-136610d8 | DERBY-5729: Replication tests keep references to connections after completion
- close connections in tearDown()
- null out references to connections, and to other objects that are no
longer needed, in tearDown()
- remove the fields masterServer and slaveServer since they are always
null
git-svn-id: https://svn.... | [] |
derby-DERBY-573-2dc0b917 | DERBY-573: Add support for optimizer hints, provided by the user as SQL comments. Also add upgrade infrastructure for 10.2 release and support new optimizer mechanism to work correctly under soft-upgrade for databases at 10.1 level.
I have the patch for optimizer overrides support in Derby. Alongwith the patch, I have... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java",
"hunks": [
{
"added": [
" /**"
],
"header": "@@ -863,7 +863,7 @@ public interface LanguageConnectionContext extends Context {",
"removed": [
" /**"
... |
derby-DERBY-573-c7248d5e | DERBY-573: Enhance RUNSTAT output to show user specified optimizer hints are bing used.
Here is the checkin message from the contributor:
I have attached a patch named Derby573OptimizerOverridesAndRunTimeStatistics011206.txt to JIRA Derby573 Provide support for optimizer overrides in Derby. This patch enables users t... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java",
"hunks": [
{
"added": [
"\t\t@param tableName\t\tThe full name of the table ",
"\t\t@param userSuppliedOptimizerOverrides\t\tOverrides specified by the user on the sql"
],
"head... |
derby-DERBY-5733-cc049626 | DERBY-5733: Source file for OrderByAndSortAvoidance contains characters not available in the C locale
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1332938 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5734-73ff7eb9 | DERBY-5734: End transaction if CleanDatabaseTestSetup.decorateSQL fails
Make sure the transaction is ended even if decorateSQL, which can be
overridden to perform custom setup tasks, fails.
This patch also nulls out the reference to the default connection
(clearConnection() must be paired with getConnection())
Patch ... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/CleanDatabaseTestSetup.java",
"hunks": [
{
"added": [
" try {",
" decorateSQL(s);",
" s.close();",
" conn.commit();",
" } finally {",
... |
derby-DERBY-5737-c44e39a9 | DERBY-5737: Remove GenericDescriptorList.elements and replace Enumerator usage with Iterator
Removed elements-methods and use of Enumerator in preparation of refactoring.
Patch file: derby-5737-1a-iterator.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1333356 13f79535-47bb-0310-9956-ffa450ed... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/GenericDescriptorList.java",
"hunks": [
{
"added": [],
"header": "@@ -21,18 +21,6 @@",
"removed": [
"import org.apache.derby.iapi.error.StandardException;",
"import org.apache.derby.iapi.services.sa... |
derby-DERBY-5741-33605bd7 | DERBY-5741: Improve error reporting for missing UserAuthenticators.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1335010 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5746-5db352a4 | DERBY-5746: Minor refactoring of DataDictionaryImpl.getSetAutoincrementValue
Dropped unused return value from the fetch-call.
Moved the instantiation/delcaration/modification of the bit set inside the code
block where it is actually used.
Patch file: derby-5746-1a-minor_refactoring.diff
git-svn-id: https://svn.apa... | [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [],
"header": "@@ -8843,9 +8843,6 @@ public final class\tDataDictionaryImpl",
"removed": [
"",
"\t\tFormatableBitSet columnToUpdate = new ",
" ... |
derby-DERBY-5746-94388c5a | DERBY-5746: Minor refactoring of DataDictionaryImpl.getSetAutoincrementValue
Add debug asserts for two cases where the return value of
ConglomerateController.fetch is ignored (primarily for consistency with other
cases).
Patch file: derby-5746-2a-assert_on_fetch.diff
git-svn-id: https://svn.apache.org/repos/asf/d... | [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [
" boolean baseRowExists =",
" heapCC.fetch(rl, row.getRowArray(), columnToRead, wait);",
" if (SanityManager.DEBUG) ... |
derby-DERBY-5749-eff91692 | DERBY-5749 Implicit cast of variable length values, e.g. as arguments to stored methods and generated columns values, silently truncate if too long
Patches derby-5749b (stored procedures and functions) and
derby-5749-2b (generated columns).
Quote from releaseNote.html attached to the issue:
Summary of Change
SQL no... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/CastNode.java",
"hunks": [
{
"added": [
" /**",
" * Method calls:",
" * Argument type has the same semantics as assignment:",
" * Section 9.2 (Store assignment). There, General Rule"... |
derby-DERBY-575-03ea0985 | DERBY-575: Fix blobclob4BLOB, lobStreams, and ieptests on systems with non-ASCII
native encodings.
Committed for Myrna Van Lunteren <m.v.lunteren@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@397028 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5750-f6e9c212 | DERBY-5750 Sending an empty string as table name to compress table procedure or empty string as index name to update statistics procedure makes the parser throw an exception.
Committing changes for DERBY-5750 which will provide following functionality
a)if schema name is provided as an empty string, we will throw S... | [
{
"file": "java/engine/org/apache/derby/catalog/SystemProcedures.java",
"hunks": [
{
"added": [
" * @param schemaname schema name of the table/index(es) whose ",
" * statistics will be updated. null will mean use",
" * ... |
derby-DERBY-5751-0881157e | DERBY-5751: Make TriggerTest less hungry on heap space
- Use LoopingAlphabetStream and LoopingAlphabetReader instead of
ByteArrayInputStream and CharArrayReader so that the input data
arrays don't need to be materialized in memory.
- Close statements and result sets earlier to allow gc of old
test data.
- Use ... | [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/streams/ByteAlphabet.java",
"hunks": [
{
"added": [
" /**",
" * Create an alphabet that consists of a single byte.",
" */",
" public static ByteAlphabet singleByte(byte b) {... |
derby-DERBY-5752-c2fe2805 | DERBY-5752: LOBStreamControl should materialize less aggressively
Only materialize LOBs that are smaller than 32 KB in memory.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1447722 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/LOBStreamControl.java",
"hunks": [
{
"added": [
" * size is set to the size of the byte array supplied, but no larger than",
" * MAX_BUF_SIZE. If no initial data is supplied, or if the initial data size",
" * is le... |
derby-DERBY-5755-9f6c6783 | DERBY-5755: Minor cleanup of DataDictionaryImpl.getRoutineList()
Use java.util.Collections to create empty and single-element lists.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1338167 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [
" // We expect to find just a single function, since we currently",
" // don't support multiple routines with the same name, but use a",
... |
derby-DERBY-5759-5a72b2c2 | DERBY-5759: Add IndexStatsUtil.release(boolean closeConnection)
Made it possible to clean up the resources used by the utility without
closing the connection.
Patch file: derby-5759-1a-release_with_arg.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1338068 13f79535-47bb-0310-9956-ffa450edef68... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/IndexStatsUtil.java",
"hunks": [
{
"added": [
" * Releases resources and closes the associated connection.",
" release(true);",
" }",
"",
" /**",
" * Releases ... |
derby-DERBY-576-7c812c76 | DERBY-576 xaHelper in ij creates global id that is not the same across platforms
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@740048 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/xaHelper.java",
"hunks": [
{
"added": [
"",
"import java.io.UnsupportedEncodingException;"
],
"header": "@@ -22,6 +22,8 @@",
"removed": []
},
{
"added": [
"\t\ttry {",... |
derby-DERBY-5760-d349a1fb | DERBY-5760: Missing argument in some XJ022 errors
Use helper method that sets the argument automatically.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1341350 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedBlob.java",
"hunks": [
{
"added": [
" throws StandardException, SQLException"
],
"header": "@@ -154,7 +154,7 @@ final class EmbedBlob extends ConnectionChild implements Blob, EngineLOB",
"removed": ... |
derby-DERBY-5762-5ea170fe | DERBY-5762: Normalize casing of username inside NATIVE procedures.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1338760 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/catalog/SystemProcedures.java",
"hunks": [
{
"added": [
" userName = normalizeUserName( userName );",
" "
],
"header": "@@ -2090,6 +2090,8 @@ public class SystemProcedures {",
"removed": []
... |
derby-DERBY-5764-720294ef | DERBY-5764: Make DatabaseMetaDataTest more robust wrt changes made by other tests
Use schema name in the queries to avoid "pollution" of the system tables from
other tests, specifically when run as part of the upgrade test. The schema name
is set to the user name, so to enable this feature wrap the test in a decorato... | [] |
derby-DERBY-5764-cde004ca | DERBY-5764: Make DatabaseMetaDataTest more robust wrt changes made by other tests
Minor cleanups: removed unused imports, removed final from static method,
renamed method, and converted comment to Javadoc.
Patch file: derby-5764-1a-upgraderun_cleanup.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/t... | [] |
derby-DERBY-5764-fa3a4bc0 | DERBY-5764: Make DatabaseMetaDataTest more robust wrt changes made by other tests
Added some additional tests to test code paths where schema is set to null.
Added utility method JDBC.assertResultSetContains, used where the query may
return more rows due to data added by other tests but we still want to assert
that a ... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/JDBC.java",
"hunks": [
{
"added": [
" assertRSContains(rs, expectedRows, asTrimmedStrings, true);",
" }",
"",
" /**",
" * Asserts that the {@code ResultSet} contains the row... |
derby-DERBY-5770-ebe46425 | DERBY-5770: Reduce window of opportunity for queries being compiled without statistics on istat update
Moved invalidation to after the new statistics have been written.
Patch file: derby-5770-1a-move_invalidation.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1339999 13f79535-47bb-0310-9956... | [
{
"file": "java/engine/org/apache/derby/impl/services/daemon/IndexStatisticsDaemonImpl.java",
"hunks": [
{
"added": [
" if (!lcc.dataDictionaryInWriteMode()) {",
" dd.startWriting(lcc);",
" }",
" boolean conglomerateGone =... |
derby-DERBY-5774-387174c8 | DERBY-5774: Failures in UpdateStatisticsTest (order-dependent test cases)
Made asserts on statistics specific to the relevant table(s) in testUpdateAndDropStatistics.
Made testDisposableStatsEagerness drop the tables it creates.
Patch file: derby-5774-1a-focused_asserts.diff
git-svn-id: https://svn.apache.org/repos... | [] |
derby-DERBY-5779-34681435 | DERBY-5779: Prevent VTIS in FROM list subqueries from referencing other elements in the FROM list.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1362159 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/FromSubquery.java",
"hunks": [
{
"added": [
"import java.util.Enumeration;",
"import java.util.Vector;"
],
"header": "@@ -21,6 +21,8 @@",
"removed": []
}
]
},
{
"file": "java/... |
derby-DERBY-5779-8c3c7e88 | DERBY-5779: Add more tests for illegal joins of VTI/tableFunction args in <joined table> clauses.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1360846 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5779-9495b40d | DERBY-5779: Forbid joining to VTI/tableFunction args in <joined table> clauses.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1360736 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5779-a4c1c3a3 | DERBY-5779: Do not let table function parameters refer to other tables in the same FROM list.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1352631 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-578-fee55d87 | DERBY-578 - Grouped select from temporary table raises null pointer exception in byte code generator
DERBY-1464 - runtimestatistics can show that an index is being used even when it isn't
Contributed by Manish Khettry
The problem is simple enough-- we didn't have a conglomerate name for temporary tables. I fixed the ... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java",
"hunks": [
{
"added": [
"\t",
" /* helper method used by generateMaxSpecialResultSet and",
" * generateDistinctScan to return the name of the index if the ",
" ... |
derby-DERBY-5780-ceaf7dfd | DERBY-5494 Same value returned by successive calls to a sequence generator flanking an unorderly shutdown.
DERBY-5780 identity column performance has degredated
The previous patch for DERBY-5494 had the unintended affect of forcing a
synchronous write for all nested user transactions at abort time. This
in turn cau... | [
{
"file": "java/engine/org/apache/derby/iapi/store/raw/RawStoreFactory.java",
"hunks": [
{
"added": [
" @param flush_log_on_xact_end By default should the transaction ",
" commit and abort be synced to the log. Normal usage should pick true, ",
"... |
derby-DERBY-5783-02ac42ce | DERBY-5783: Remove duplicated code for starting remote processes in replication tests
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1344190 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-579-1373f5a6 | Fixes DERBY-579 by not storing the timeout value in the
GenericPreparedStatement class, just passing it through.
SetQueryTimeoutTest updated, now uses a server-side function to delay
queries. This gives predictability and because of that, the running
time of the test has been significantly reduced. Also, the test now
... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/PreparedStatement.java",
"hunks": [
{
"added": [
" * @param timeoutMillis timeout value in milliseconds."
],
"header": "@@ -106,6 +106,7 @@ public interface PreparedStatement",
"removed": []
}
]
... |
derby-DERBY-5792-0a8f8408 | DERBY-5792: Make it possible to turn off encryption on an already encrypted database.
Simplified code removing old container files generated during encryption and
decryption of a database. There were two implementations, I removed one of them
and removed the parameter of EncryptOrDecryptData.removeOldVersionOfContaine... | [
{
"file": "java/engine/org/apache/derby/iapi/store/raw/data/DataFactory.java",
"hunks": [
{
"added": [],
"header": "@@ -32,7 +32,6 @@ import org.apache.derby.iapi.store.raw.ContainerHandle;",
"removed": [
"import org.apache.derby.iapi.store.raw.RecordHandle;"
... |
derby-DERBY-5792-86ebb44a | DERBY-5792: Make it possible to turn off encryption on an already encrypted database.
Added basic tests for database decryption, verifying that:
o core functionality works
o nothing is decrypted if the database is already booted
o conflicting attributes are detected
The test has not yet been enabled as part of th... | [] |
derby-DERBY-5792-89a66256 | DERBY-5792: Make it possible to turn off encryption on an already encrypted database.
A set of changes made in preparation of adding database decryption support.
These modifications should not cause functional changes.
Description:
o DataFactory.setDatabaseEncrypted: introduced boolean flag to be able
to tell the... | [
{
"file": "java/engine/org/apache/derby/iapi/store/raw/log/LogFactory.java",
"hunks": [
{
"added": [],
"header": "@@ -28,12 +28,10 @@ import org.apache.derby.iapi.store.raw.data.DataFactory;",
"removed": [
"import org.apache.derby.iapi.store.raw.ScannedTransactionHand... |
derby-DERBY-5796-4d04d503 | DERBY-5796: Remove unused methods in client.am.DateTime
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1346320 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/DateTime.java",
"hunks": [
{
"added": [],
"header": "@@ -20,7 +20,6 @@",
"removed": [
"import org.apache.derby.shared.common.i18n.MessageUtil;"
]
},
{
"added": [],
"header": "@@ -645... |
derby-DERBY-5797-afe4dfdf | DERBY-5797: AssertionFailedError in functionTests.tests.lang.UpdateStatisticsTest.testDisposableStatsEagerness
Make the test sleep for at least one tick of the system timer to ensure the
comparison of statistics creation timestamps are valid in the normal case
(i.e. when there is no bug).
Added two utility methods to ... | [] |
derby-DERBY-5801-b9e0e745 | DERBY-5801: Sub-processes should write EMMA coverage data to separate files
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1347667 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5802-77ba1811 | DERBY-5802: Remove unused class ExecProcUtil
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1347885 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/ExecProcUtil.java",
"hunks": [
{
"added": [],
"header": "@@ -1,107 +0,0 @@",
"removed": [
"/*",
" ",
" Derby - Class org.apache.derbyTesting.functionTests.util.ExecProcUtil",
... |
derby-DERBY-5803-8ab3fa6d | DERBY-5803: Make error handling in xaHelper more explicit
Make error handling method return an execption and raise it explicitly.
Note that the method may still throw runtime exceptions.
Patch file: derby-5803-1a-explict_throw.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1348818 13f79535-... | [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/xaHelper.java",
"hunks": [
{
"added": [],
"header": "@@ -30,14 +30,12 @@ import java.util.Locale;",
"removed": [
"import javax.transaction.xa.XAResource;",
"import org.apache.derby.iapi.services.info.JVMIn... |
derby-DERBY-5806-4bdaec20 | DERBY-5806: Fix parsing of empty string in DRDAConnThread. Set ClientStatement.sqlMode_ correctly for empty statements.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1537874 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/ClientStatement.java",
"hunks": [
{
"added": [
" sqlMode_ = executeType==executeQueryMethod__?isQuery__:isUpdate__;"
],
"header": "@@ -2259,6 +2259,7 @@ public class ClientStatement implements Statement, Stateme... |
derby-DERBY-5808-e437bc34 | DERBY-5808: Compatibility test should use BaseTestCase.execJavaCmd()
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1350133 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5810-99028754 | DERBY-5810: Include emma.jar on classpath when running compatibility test with instrumented jars
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1350134 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5814-afe6225b | DERBY-5814 Source cleanup in catalogs "impl.sql.catalog" and "impl.sql.compile"
Patch catalog-compile-cleaning-2, which:
a) removed unused private methods
b) removed unused local variables and members
c) cleaned up imports
d) remove unused formal arguments
git-svn-id: https://svn.apache.org/repos/asf/db/derby/cod... | [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DropDependencyFilter.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.error.StandardException;",
"import org.apache.derby.iapi.services.monitor.Monitor;",
"import org.apache.derby.iapi.sql.execut... |
derby-DERBY-5817-273ad5f7 | DERBY-5817: Add support for the JaCoCo code coverage tool
Adds initial support for the JaCoCo code coverage tool.
Top-level ant targets:
o jacoco-complete: runs derbyall, suites.All, junit-lowmem and junit-pptesting
o jacoco-junit: runs suite.All
o jacoco-junit-single: runs test specified by the property
The repor... | [] |
derby-DERBY-5819-f5c1abdc | DERBY-5819 Add logic to BaseTestCase to start subprocesses ready to be attached to from a Java debugger
Adds options to allow this capability for Oracle Java (properties below
ignored for other implementations):
derby.test.debugPortBase=<int> default 8800
derby.test.debugSubProcesses=<boolean> default false
derby.te... | [] |
derby-DERBY-5821-001ac634 | DERBY-5821: tools/derbyrunjartest.java doesn't use jvmflags
Add the test to the tools suite. Skip testing the server command on
J2ME platforms, where it's not supported.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1359068 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5821-3919c525 | DERBY-5821: tools/derbyrunjartest.java doesn't use jvmflags
Converted the test to JUnit to allow it to use BaseTestCase's helper
methods for starting sub-processes.
Extended BaseTestCase's helper methods with support for running jar
files with java -jar.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/tr... | [] |
derby-DERBY-5823-8f8881fd | DERBY-5823: Multi-row insert fails on table without generated keys with RETURN_GENERATED_KEYS
The fix contains two parts:
1. Don't collect generated keys if the statement does not actually
generate key values. (This is the fix for the reported problem.)
2. Cache the array of generated key columns between executio... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/InsertResultSet.java",
"hunks": [
{
"added": [
"import java.util.Arrays;"
],
"header": "@@ -21,6 +21,7 @@",
"removed": []
},
{
"added": [
" private int[] ... |
derby-DERBY-5824-2d7d37f1 | DERBY-5824: Disable OSReadOnlyTest when run as privileged user
When running the test as root, it is able to modify the database even
though all database files have been made read-only. Disable the test
in such environments.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1599544 13f79535-47bb-0310-99... | [] |
derby-DERBY-5826-666ab8f5 | DERBY-5826: Remove unused methods in NetConnectionReply class
This patch was contributed by Mohamed Nufail (nufail56 at gmail dot com)
This change removes several unused methods from the NetConnectionReply
class. Code inspection of the NetConnectionReply class reveals that
the following methods are not used at all:
... | [
{
"file": "java/client/org/apache/derby/client/net/NetConnectionReply.java",
"hunks": [
{
"added": [],
"header": "@@ -57,47 +57,6 @@ public class NetConnectionReply extends Reply",
"removed": [
" void verifyConnectReply(int codept) throws SqlException {",
... |
derby-DERBY-5827-f7066326 | DERBY-5827: Remove unused methods in NetStatementReply class
This patch was contributed by Mohamed Nufail (nufail56 at gmail dot com)
This change removes several unused methods from the NetStatementReply
class. Code inspection of the NetStatementReply class reveals that
the following methods are not used at all:
par... | [
{
"file": "java/client/org/apache/derby/client/net/NetStatementReply.java",
"hunks": [
{
"added": [],
"header": "@@ -1648,17 +1648,6 @@ public class NetStatementReply extends NetPackageReply implements StatementReply",
"removed": [
" // Query Protocol type specifie... |
derby-DERBY-5828-29fe9b7f | DERBY-5828: Remove unused methods in NetPackageReply class
This patch was contributed by Mohamed Nufail (nufail56 at gmail dot com)
This change removes the unused parsePKGNAMCT method in NetPackageReply.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1356568 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/net/NetPackageReply.java",
"hunks": [
{
"added": [],
"header": "@@ -197,18 +197,4 @@ public class NetPackageReply extends NetConnectionReply {",
"removed": [
" // RDB Package Name and Consistency token Scalar Object sp... |
derby-DERBY-5830-1966619e | DERBY-5830: Make DoubleProperties.propertyNames() thread-safe
Don't store the property values in the intermediate Hashtable as they
are not needed. They may be null if the Properties instances are
modified after the recursive calls to Properties.propertyNames(), and
trying to store a null value in a Hashtable results ... | [
{
"file": "java/engine/org/apache/derby/iapi/util/DoubleProperties.java",
"hunks": [
{
"added": [
"import java.util.Collections;",
"import java.util.HashSet;",
"import java.util.Properties;"
],
"header": "@@ -21,8 +21,10 @@",
"removed": [
... |
derby-DERBY-5833-ab750e37 | DERBY-5833: Remove unused methods in NetCallableStatement class
This patch was contributed by Mohamed Nufail (nufail56 at gmail dot com)
This change removes the following unused methods from the
NetCallableStatement class:
- resetNetCallableStatement(NetAgent netAgent, NetConnection netConnection, String sql, Sectio... | [
{
"file": "java/client/org/apache/derby/client/net/NetCallableStatement.java",
"hunks": [
{
"added": [],
"header": "@@ -91,22 +91,5 @@ public class NetCallableStatement extends NetPreparedStatement",
"removed": [
" void resetNetCallableStatement(NetAgent netAgent,"... |
derby-DERBY-5834-ca72f66a | DERBY-5834: Remove unused methods in NetPreparedStatement class
This patch was contributed by Mohamed Nufail (nufail56 at gmail dot com)
This change removes two unused overloads of the resetNetPreparedStatement
method in NetPreparedStatement.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1356573 ... | [
{
"file": "java/client/org/apache/derby/client/net/NetPreparedStatement.java",
"hunks": [
{
"added": [],
"header": "@@ -141,24 +141,6 @@ public class NetPreparedStatement extends NetStatement",
"removed": [
" void resetNetPreparedStatement(NetAgent netAgent,",
... |
derby-DERBY-5838-31bea464 | DERBY-5838: Prevent users from changing the value of the DataDictionaryVersion property.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1356333 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/LanguageDbPropertySetter.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.sql.dictionary.DataDictionary;"
],
"header": "@@ -30,6 +30,7 @@ import org.apache.derby.iapi.services.sanity.SanityManager;",
... |
derby-DERBY-5839-f3ade652 | DERBY-5839 (dblook run on toursdb fails on triggers with java.lang.StringIndexOutOfBoundsException in dblook.log)
We document that SYSTRIGGERS.REFERENCEDCOLUMNS is not part of the public API and hence that allows Derby to change underneath the behavior of the column. Prior to 10.9, this column only had information abo... | [
{
"file": "java/tools/org/apache/derby/impl/tools/dblook/DB_Trigger.java",
"hunks": [
{
"added": [
"\t\t\t\t\t\t//DERBY-5839 dblook run on toursdb fails on triggers",
"\t\t\t\t\t\t//\twith java.lang.StringIndexOutOfBoundsException in",
"\t\t\t\t\t\t//\tdblook.log"... |
derby-DERBY-584-0c186b3d | Add workaround in DatabaseMetaDataTest for DERBY-584 to stop DatabaseMetaDataTest failing.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@509420 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-5840-27fbf330 | DERBY-5840: Compile network server code with source and target level 1.5
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1361925 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/build/org/apache/derbyBuild/classlister.java",
"hunks": [
{
"added": [
"\t\t// they must be picked up from derby.jar and not put in"
],
"header": "@@ -491,7 +491,7 @@ public class classlister {",
"removed": [
"\t\t// they must be pick... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.