id stringlengths 22 25 | commit_message stringlengths 137 6.96k | diffs listlengths 0 63 |
|---|---|---|
derby-DERBY-3151-04353ef8 | DERBY-3151: Reduce dependency on NetworkServerControl in TestConfiguration.
Added a NetworkServerControl wrapper using reflection to use the class and invoke its methods.
The purpose of the change is to be able to run JUnit tests without having derbynet.jar (and derbyrun.jar) on the classpath.
Patch file: derby-3151-4b... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [],
"header": "@@ -31,8 +31,6 @@ import java.util.Properties;",
"removed": [
"import org.apache.derby.drda.NetworkServerControl;",
""
]
},
... |
derby-DERBY-3155-03170a55 | DERBY-3155: Add a test for MERGE statements which sometimes put nulls into generated columns and sometimes don't; commit derby-3155-41-aa-nullGeneratedColumns.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1576710 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-0ae3b6de | DERBY-3155: Simplify processing of then rows for the DELETE actions of MERGE statements; commit derby-3155-50-aa-revampDeleteThenRows.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1579937 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [],
"header": "@@ -87,7 +87,6 @@ public class MatchingClauseNode extends QueryTreeNode",
"removed": [
" private int[] _deleteColumnOff... |
derby-DERBY-3155-1484b835 | DERBY-3155: Forbid subqueries in the WHEN [ NOT ] MATCHED clauses of MERGE statements; commit derby-3155-19-aa-forbidSubqueriesInMatchedClauses.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1561671 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [
" //",
" // Although the SQL Standard allows subqueries in the WHEN [ NOT ] MATCHED clauses,",
" // we don't support them yet. That is b... |
derby-DERBY-3155-1705596a | DERBY-3155: Propagate RowLocations out of index probes as necessary for the driving left join of a MERGE statement; commits derby-3155-26-aa-copyRowLocationForIndexScans.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1569396 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java",
"hunks": [
{
"added": [
"\t\t@param baseColumnCount\t\tNumber of columns in the base table"
],
"header": "@@ -1086,6 +1086,7 @@ public interface ResultSetFactory {",
"removed": []... |
derby-DERBY-3155-18792e22 | DERBY-3155: Add privilege checks for the INSERT actions of MERGE statements; tests passed cleanly on derby-3155-33-ab-insertPrivs.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1574131 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [
"",
" bindExpressions( selectList, fullFromList );"
],
"header": "@@ -809,7 +809,8 @@ public class MatchingClauseNode extends QueryTreeNode",
... |
derby-DERBY-3155-1a3e2c0c | DERBY-3155: Run all MERGE tests with and without collations; commit derby-3155-47-aa-collations.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1579040 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-1a5b33ed | DERBY-3155: Add support for ? parameters to MERGE statements; commit derby-3155-24-aa-supportParameters.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1566673 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-1cd5dd1c | DERBY-3155: Improve support for correlation names for the source tables of MERGE statements; tests passed cleanly for me on derby-3155-10-aa-correlationNames.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1548298 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [
" FromList fromList = fullFromList;",
"",
" //",
" // For an INSERT action, the WHEN NOT MATCHED refinement can... |
derby-DERBY-3155-273d23fd | DERBY-3155: Add tests for largish lobs in MERGE statements; commit derby-3155-40-aa-bigLobs.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1576383 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-2945dbb8 | DERBY-3155: Allow system and temp tables in MERGE statements; commit derby-3155-13-aa-allowSystemAndTempTables.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1558912 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MergeNode.java",
"hunks": [
{
"added": [
" switch( desc.getTableType() )",
" {",
" case TableDescriptor.BASE_TABLE_TYPE:",
" case TableDescriptor.GLOBAL_TEMPORARY_TABLE_... |
derby-DERBY-3155-2d835fe5 | DERBY-3155: Add test for MERGE statement which fires triggers involving generated columns; commit derby-3155-42-aa-triggersAndGeneratedColumns.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1576893 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-2f8e6fbd | DERBY-3155: Revamp how columns referenced by WHEN [ NOT ] MATCHED clauses are linked to the columns coming back from the driving left join of a MERGE statement; commit derby-3155-20-aa-reworkColumnMatching.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1564874 13f79535-47bb-0310-9956-ffa450edef... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ColumnReference.java",
"hunks": [
{
"added": [
" // For associating columns with the SOURCE and TARGET tables of MERGE statements.",
" public static final int MERGE_UNKNOWN = 0;",
" public stat... |
derby-DERBY-3155-30e18dba | DERBY-3155: Remove some obsolete code which was causing a cross-schema MERGE statement to raise a missing schema error: commit derby-3155-29-aa-missingSchema.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1570352 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-3511a12d | DERBY-3155: Improve handling of correlation names for the target tables in MERGE statements; commit derby-3155-09-aa-correlationNames.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1547585 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MergeNode.java",
"hunks": [
{
"added": [
" // source table must be a vti or base table",
" if (",
" !(_sourceTable instanceof FromVTI) &&",
" !(_sourceTable inst... |
derby-DERBY-3155-3cc631bb | DERBY-3155: Forbid derived column lists in MERGE statements; commit derby-3155-23-aa-forbidDerivedColumnLists.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1566649 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MergeNode.java",
"hunks": [
{
"added": [
" // don't allow derived column lists right now",
" forbidDerivedColumnLists();",
" "
],
"header": "@@ -214,6 +214,9 @@ public fi... |
derby-DERBY-3155-3e77b5ad | DERBY-3155: More improvements to column resolution in MERGE statements; tests passed cleanly for me on derby-3155-30-ab-moreCorrelationNames.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1571808 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ColumnReference.java",
"hunks": [
{
"added": [
" /**"
],
"header": "@@ -113,7 +113,7 @@ public class ColumnReference extends ValueNode",
"removed": [
"\t/**"
]
},
{
... |
derby-DERBY-3155-480456f6 | DERBY-3155: Allow for row location columns in the result column list of base tables; tests passed cleanly for me on derby-3155-16-aa-treatCurrentRowLocationNodeLikeBaseColumnNode.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1560134 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-4cf6633b | DERBY-3155: Improve comments for compilation of MERGE statements; commit derby-3155-51-aa-cleanup2.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1579950 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [
" //",
" // Filled in by the constructor.",
" //",
" // Filled in at bind() time.",
" // the INSERT/UPDATE/DELETE statemen... |
derby-DERBY-3155-5d1ab631 | DERBY-3155: Add support for ? parameters as INSERT values in MERGE statements; commit derby-3155-25-aa-parametersAsInsertValues.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1567368 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [
" ResultColumnList selectList = new ResultColumnList( getContextManager() );",
" for ( int i = 0; i < _insertValues.size(); i++ )",
" ... |
derby-DERBY-3155-661c2e6c | DERBY-3155: Add grammar and bind logic for MERGE statement; commit derby-3155-01-ac-grammar.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1516157 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/InsertNode.java",
"hunks": [
{
"added": [
" //",
" // For the MERGE statement, DEFAULT expressions in the SELECT node",
" // may have been replaced with generated expressions already.",
... |
derby-DERBY-3155-69ab4bd8 | DERBY-3155: Make the INSERT column list optional in the WHEN NOT MATCHED clause of a MERGE statement provided that the number of values in the VALUES subclause equals the number of columns in the target table; commit derby-3155-12-aa-canOmitInsertColumnList.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/c... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.sql.dictionary.ColumnDescriptorList;"
],
"header": "@@ -41,6 +41,7 @@ import org.apache.derby.iapi.sql.ResultDescription;",
... |
derby-DERBY-3155-6b8d71bb | DERBY-3155: Fix bug in MERGE statement fired by a trigger; commit derby-3155-53-aa-transitionSimpleColumn.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1587317 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-6ffb1125 | DERBY-3155: Add a test case for privilege checking on a MERGE statement with all 3 kinds of actions; commit derby-3155-35-aa-allPrivsTest.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1574956 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-77b6e859 | DERBY-3155: Eliminate redundant copies of columns in the select list of the driving left join for MERGE statements; commit derby-3155-43-aa-eliminateDuplicateColumnRefs.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1577566 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MergeNode.java",
"hunks": [
{
"added": [
"import java.util.HashSet;"
],
"header": "@@ -24,6 +24,7 @@ package\torg.apache.derby.impl.sql.compile;",
"removed": []
},
{
"added": [
... |
derby-DERBY-3155-7f8154de | DERBY-3155: Make MERGE statement serialize SQLRefs rather than HeapRowLocations; commit derby-3155-17-aa-serializingRowLocations.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1560452 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/MergeResultSet.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.types.SQLRef;"
],
"header": "@@ -33,6 +33,7 @@ import org.apache.derby.iapi.sql.execute.ExecRow;",
"removed": []
}
]
... |
derby-DERBY-3155-856f8920 | DERBY-3155: Replace correlation names on the left side of the SET clauses in MERGE statements: commit derby-3155-14-aa-replaceCorrelationNamesOnLeftSideOfSETclauses.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1559183 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-898f3f5a | DERBY-3155: Make cleanup logic in MergeResultSet more closely resemble the cleanup logic in InsertResultSet; commit derby-3155-15-aa-replumbMergeResultSetCleanup.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1559218 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/MergeResultSet.java",
"hunks": [
{
"added": [
"\tprivate int\t\t\t\t\t\tnumOpens;",
" "
],
"header": "@@ -60,6 +60,8 @@ class MergeResultSet extends NoRowsResultSetImpl",
"removed": []
... |
derby-DERBY-3155-89f969c4 | DERBY-3155: Verify that columns needed for triggers are buffered up by MERGE statements, even when the MERGE statements do not mention those columns; commit derby-3155-46-aa-deferredDeletes.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1578945 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-8a90f7cd | DERBY-3155: Add tests for the (de)serialization of MERGE statements; commit derby-3155-45-aa-serialization.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1578920 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-9cfeeb1e | DERBY-3155: Forbid MERGE statements in soft-upgraded databases; commit derby-3155-52-aa-upgrade.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1580889 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-9d3ad325 | DERBY-3155: Add test for MERGE statement which reads the target table via an index; commit derby-3155-48-aa-indexScan.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1579685 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-a19ac61c | DERBY-3155: Add lock mode comment to master MERGE node; commit derby-3155-36-aa-lockModeComment.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1575026 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MergeNode.java",
"hunks": [
{
"added": [
" //",
" // No need to set lockMode in the master MergeNode. The individual",
" // actions and the driving left-join will set their own lock mode... |
derby-DERBY-3155-a2b37c2a | DERBY-3155: Materialize LOBs before buffering them up for processing by WHEN [ NOT ] MATCHED clauses; commit derby-3155-44-aa-lobsInTriggers.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1578535 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/MergeResultSet.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.services.io.StreamStorable;"
],
"header": "@@ -24,6 +24,7 @@ package org.apache.derby.impl.sql.execute;",
"removed": []
}... |
derby-DERBY-3155-a4a5f1ac | DERBY-3155: Fix build problem introduced by derby-3155-38-aa-datatypes.diff; commit derby-3155-39-aa-fixBuild.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1576062 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-a7d99c10 | DERBY-3155: Add tests to verify that BEFORE triggers can't fire MERGE statements, just as they can't fire INSERT/UPDATE/DELETE statements; commit derby-3155-11-ab-beforeTriggersCantFireMerge.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1549948 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-b3f38f87 | DERBY-3155: Forbid synonyms in MERGE statement; tests passed cleanly for me on derby-3155-21-ac-cleanupAndForbidSynonyms.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1565830 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ColumnReference.java",
"hunks": [
{
"added": [
" if ( (_mergeTableID != MERGE_UNKNOWN) && (_mergeTableID != mergeTableID) )",
" \"MERGE statement can't re-associate column \" + getSQLColumn... |
derby-DERBY-3155-bba59bbb | DERBY-3155: Uncomment a test verifying that trigger transition tables cannot be used as the target tables of MERGE statements: derby-3155-05-aa-triggerTransitionTableAsTarget.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1535397 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-bbd6aff4 | DERBY-3155: Point matching refinement clauses into the row returned by the driving left join of the MERGE statement; commit derby-3155-27-aa-adjustMatchingRefinements.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1569521 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [],
"header": "@@ -234,12 +234,6 @@ public class MatchingClauseNode extends QueryTreeNode",
"removed": [
" /** Re-bind various clauses and lists once we have Re... |
derby-DERBY-3155-bff25717 | DERBY-3155: Fix some serialization bugs in the MERGE ConstantActions and add test cases for using trigger transition tables as the source tables of MERGE statements; check in derby-3155-06-aa-triggerTransitionTableAsSource.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1535447 13f79535-47bb-031... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/MatchingClauseConstantAction.java",
"hunks": [
{
"added": [
" /** 0-arg constructor needed by Formatable machinery */",
" public MatchingClauseConstantAction() {}",
""
],
"header": "@@... |
derby-DERBY-3155-c2a0bdd9 | DERBY-3155: Basic support for views as the source tables of MERGE statements; commit derby-3155-18-aa-basicView.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1560507 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-daffaee4 | DERBY-3155: Enforce correct privileges for DELETE actions of MERGE statements; tests passed cleanly on derby-3155-31-aa-deletePrivs.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1572665 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/DeleteNode.java",
"hunks": [
{
"added": [
" getCompilerContext().removePrivilegeFilter( scopeFilter );"
],
"header": "@@ -297,11 +297,7 @@ class DeleteNode extends DMLModStatementNode",
"remov... |
derby-DERBY-3155-ddfefebc | DERBY-3155: Implement printSubNodes() for MergeNode and MatchingClauseNode; commit derby-3155-37-aa-printSubNodes.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1575032 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MergeNode.java",
"hunks": [
{
"added": [
"\t/**",
"\t * Prints the sub-nodes of this object. See QueryTreeNode.java for",
"\t * how tree printing is supposed to work.",
"\t *",
"\t * @pa... |
derby-DERBY-3155-efa1efa9 | DERBY-3155: Prevent a MERGE statement from altering the same target row twice; commit derby-3155-28-aa-cardinalityViolations.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1570230 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/MergeResultSet.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.store.access.BackingStoreHashtable;",
"import org.apache.derby.shared.common.sanity.SanityManager;"
],
"header": "@@ -25,15 +... |
derby-DERBY-3155-f2cad07d | DERBY-3155: Add test to verify use of identifiers on the left side of SET clauses in MERGE statements; commit derby-3155-22-ad-testIdentifiersOnLeftSideOfSetClauses.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1566625 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3155-ffbe8135 | DERBY-3155: Add privilege checks for the UPDATE actions of MERGE statements; commit derby-3155-34-ab-updatePrivs.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1574566 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/MatchingClauseNode.java",
"hunks": [
{
"added": [
" //",
" // Don't add USAGE privilege on user-defined types.",
" //",
" boolean wasSkippingTypePrivileges = getCompiler... |
derby-DERBY-3158-ce018f39 | DERBY-3158 DERBY-3159 Ensure that SYSCS_SET_USER_ACCESS: 1) always sets the user name in the lists in its delimited form. 2) Allows repeated calls to set the permission for the same user by always clearing both lists of that user name before adding. 3) Allows user names with characters that require quoting in SQL by no... | [
{
"file": "java/engine/org/apache/derby/iapi/util/IdUtil.java",
"hunks": [
{
"added": [
" * Produce a delimited form of a normal value.",
"\tpublic static String normalToDelimited(String id)",
" ",
"\t\tfor (int ix = 0; ix < id.length(); ix++)... |
derby-DERBY-3159-ce018f39 | DERBY-3158 DERBY-3159 Ensure that SYSCS_SET_USER_ACCESS: 1) always sets the user name in the lists in its delimited form. 2) Allows repeated calls to set the permission for the same user by always clearing both lists of that user name before adding. 3) Allows user names with characters that require quoting in SQL by no... | [
{
"file": "java/engine/org/apache/derby/iapi/util/IdUtil.java",
"hunks": [
{
"added": [
" * Produce a delimited form of a normal value.",
"\tpublic static String normalToDelimited(String id)",
" ",
"\t\tfor (int ix = 0; ix < id.length(); ix++)... |
derby-DERBY-3160-bbba1c74 | DERBY-3160 Make SYSCS_GET_USER_ACCESS treat the passed in user name in its normal form, as for example would be passed by using the expression CURRENT_USER
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@590720 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3172-836fc7bd | This is a followup checkin to checkin(595047) was committed for DERBY-3172. The DataSourceTest had started failing
under JDK1.6 after 595047. The particular test case that was failing was for Connection.getTypeMap The reason for
failure was that this method was overridden in a subclass which kicks in only when JDBC4.0 ... | [
{
"file": "java/client/org/apache/derby/client/am/LogicalConnection40.java",
"hunks": [
{
"added": [
" try",
" {",
" \t\tcheckForNullPhysicalConnection();",
" return physicalConnection_.createArrayOf( typeName, elements );",
... |
derby-DERBY-3172-cb47a36e | DERBY-3172
Change the Network Server code so that when the Network Server is shutdown, any api on Connection object will
raise a Connection error event (similar to what is done in embedded mode). This also required me changing the
disconnectError from -4999 to 40000(to match embedded). This change was made client.am.... | [
{
"file": "java/client/org/apache/derby/client/ClientPooledConnection.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.error.ExceptionSeverity;"
],
"header": "@@ -23,8 +23,8 @@ package org.apache.derby.client;",
"removed": [
"import org.a... |
derby-DERBY-3173-320f6afa | DERBY-3173: Removed cached String objects from SQLTime and SQLTimestamp
Patch contributed by Eranda Sooriyabandara <070468D at gmail dot com>.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@989918 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/DateTimeParser.java",
"hunks": [
{
"added": [],
"header": "@@ -31,7 +31,6 @@ class DateTimeParser",
"removed": [
" private String trimmedString;"
]
}
]
},
{
"file": "java/engine/org/apache... |
derby-DERBY-3173-eac24d28 | DERBY-3173: Removed cached String objects from SQLDate
Patch contributed by Eranda Sooriyabandara <070468D@gmail.com>.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@988107 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/SQLDate.java",
"hunks": [
{
"added": [
" return BASE_MEMORY_USAGE;"
],
"header": "@@ -86,14 +86,11 @@ public final class SQLDate extends DataType",
"removed": [
"\t// The cached value.toString... |
derby-DERBY-3175-45c3f035 | DERBY-3175: NullPointerException on INSERT after ALTER TABLE DROP COLUMN
The implementation of ALTER TABLE DROP COLUMN needs to adjust the
SYSCOLUMNS information for some of the columns in the table. Specifically,
columns with a higher column position than the dropped column need to
have their column position adjusted... | [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/ColumnDescriptor.java",
"hunks": [
{
"added": [
"\tprivate long\t\t\t\tautoincValue;"
],
"header": "@@ -69,6 +69,7 @@ public final class ColumnDescriptor extends TupleDescriptor",
"removed": []
... |
derby-DERBY-3176-05e9c291 | DERBY-3176: Re-enable support for running Derby on phoneME small device platforms.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@594184 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/info/JVMInfo.java",
"hunks": [
{
"added": [
"\tThis class is used to determine which Java specification Derby will run at.",
" For a useful discussion of how this class is used, please see DERBY-3176."
],
... |
derby-DERBY-3176-8a319fbe | DERBY-3224 - modifications to enable running with phoneME advanced platform;
changes are as follows:
- org/apache/derby/iapi/tools/i18n/LocalizedInput.java -
Performance of ij tests improved by using a BufferedReader on top of the
InputStreamReader when ij read from its scriptfiles.
The reason is the... | [
{
"file": "java/tools/org/apache/derby/iapi/tools/i18n/LocalizedInput.java",
"hunks": [
{
"added": [
"import java.io.BufferedReader;",
"public class LocalizedInput extends BufferedReader{",
"\t\tsuper(new InputStreamReader(i));",
"\t\tsuper(new InputStre... |
derby-DERBY-3177-57465efa | DERBY-3177: Cleanup suspect coding practices in the types package.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1468143 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/catalog/types/DefaultInfoImpl.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.services.io.ArrayUtil;"
],
"header": "@@ -21,6 +21,7 @@",
"removed": []
}
]
},
{
"file": "java/engine/org/apach... |
derby-DERBY-3178-2216a400 | DERBY-3178
This commit modifies DataSourceTest.java to ensure that expected Connection events are fired to the
ConnectionEventListener.
The changes have been implemented by having AssertEventCatcher in DataSourceTest.java keep track of what events
it received. This state is kept in boolean gotConnectionClosed and boo... | [] |
derby-DERBY-3181-38e6a8d2 | DERBY-3181: DatabaseMetaData.getBestRowIdentifier behavior with invalid scope
This patch was contributed by Danoja Dias (danojadias at gmail dot com)
The DatabaseMetaData.getBestRowIdentifier method takes a number of arguments,
including "scope", which is supposed to be one of the enumerated values:
bestRowTemporary,... | [] |
derby-DERBY-3182-3d3a8fe7 | DERBY-3182 ; test comments re functioning of nullisok flag (5th parameter to
getBestRowIdentifier) were incorrect. Adjusting test.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@593931 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-319-fd58c3c2 | Derby-194: Modify Derby metadata for datetime values so that the correct "precision" and "scale" for those types will be returned in metadata calls.
Description from Army:
Since the definitions of "precision" and "scale" aren't clearly defined for datetime values in JDBC, I've set them based on the ODBC specification... | [
{
"file": "java/engine/org/apache/derby/iapi/types/TypeId.java",
"hunks": [
{
"added": [
" // Max width for datetime values is the length of the",
" // string returned from a call to \"toString()\" on the",
" // java.sql.Date, java.sql.Time, a... |
derby-DERBY-3191-aaa14032 | DERBY-3191 SQL roles: add upgrade support
Patch DERBY-3191b; adds hard upgrade code for the new roles system table SYS.SYSROLES,
plus tests for this functionality to the upgrade tests.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@597409 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [
" /**",
" * Similar to additionalDatabaseDecorator except the database will",
" * not be shutdown, only deleted. It is the responsibility of the",
... |
derby-DERBY-3192-585cf5c9 | DERBY-3192: Cache session data in the client driver
Remove special handling of SYNCCTL in sanity-check ASSERT. Since the final
version of the real patch piggy-backs changes caused by SYNCCTL there is no
longer any need to omit the sanity check after SYNCCTL.
Patch file: derby-3192-fup.v1.diff
git-svn-id: https:... | [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java",
"hunks": [
{
"added": [
" SanityManager.ASSERT(!pbsd.isModified(),",
" \"Unexpected PBSD modification: \" + pbsd +",
" ... |
derby-DERBY-3192-c6c4d4de | DERBY-3192: Cache session data in the client driver
Piggy-backs the current isolation level and the current schema onto
messages going back to the client. The client caches this information so that
it can be returned to a user (app) without an extra round-trip.
See also http://wiki.apache.org/db-derby/Derby3192Write... | [
{
"file": "java/client/org/apache/derby/client/am/Connection.java",
"hunks": [
{
"added": [
"import org.apache.derby.shared.common.sanity.SanityManager;"
],
"header": "@@ -27,6 +27,7 @@ import org.apache.derby.shared.common.reference.JDBC30Translation;",
"remo... |
derby-DERBY-3192-d4a1ecd2 | DERBY-3192: followup to disable the test for JSR169 and use more harness helper methods.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@597630 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3195-10acff8d | DERBY-3195; Describe if default security manager & policy is installed or not on each of the mechanisms to start the network server.
updating the javadoc for NetworkServerControl to reflect information about the security manager.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1646373 13f79535-47b... | [
{
"file": "java/drda/org/apache/derby/drda/NetworkServerControl.java",
"hunks": [
{
"added": [
" connect to a running Network Server to shutdown, configure or retrieve "
],
"header": "@@ -37,7 +37,7 @@ import org.apache.derby.impl.drda.NetworkServerControlImpl;",
... |
derby-DERBY-3198-29c10e34 | DERBY-3198: Using setQueryTimeout will leak sections
Patch file: derby-3198.v6.diff
Introduce a separate varable to track the Section object used by
writeSetSpecialRegister. The Section is allocated on demand and freed
when the Statement is closed or reset.
Adds a new test case to StatementJDBC30Test to catch future ... | [
{
"file": "java/client/org/apache/derby/client/am/Statement.java",
"hunks": [
{
"added": [
"import org.apache.derby.shared.common.sanity.SanityManager;"
],
"header": "@@ -24,6 +24,7 @@ import java.sql.SQLException;",
"removed": []
},
{
"add... |
derby-DERBY-3199-86bc9d55 | DERBY-3199: Minor cleanup of DRDAProtocolTest.
Patch file: derby-3199-1a-minor_cleanup.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@594118 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3202-57964be4 | DERBY-3202: 'AccessControlException: access denied
(java.io.FilePermission C:\....\file-2.log read)' in ErrorStreamTest.
Problem was that getCanonicalPath() needed a security permission on
Windows (but not on Solaris/Linux). In addition the Derby engine had
to be shut down before derby.log could be deleted on Windows.... | [] |
derby-DERBY-3202-cda55ef7 | DERBY-3202:
Workaround for failure in ErrorStreamTest on Windows Vista and Sun JDK 1.4.2.
Contributed by Vemund Østgaard.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@598626 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3208-4a868384 | DERBY-3208: Callers of DaemonService.serviceNow() assume behaviour not
guaranteed by the interface
Expanded the javadoc comment in the interface so that it guarantees
what the callers implicitly assume.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@596262 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/daemon/DaemonService.java",
"hunks": [
{
"added": [
" /**",
" * Service this subscription ASAP. When this method is called, the",
" * subscriber's <code>performWork()</code> method is guaranteed to b... |
derby-DERBY-3213-fb98ba49 | DERBY-3213: SQLChar.trim method is unused and could be removed
Patch contributed by Deepthi Devaki A R
Patch file: DERBY-3213.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@627791 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/StringDataValue.java",
"hunks": [
{
"added": [],
"header": "@@ -109,21 +109,6 @@ public interface StringDataValue extends ConcatableDataValue",
"removed": [
"\t/**",
"\t * The SQL trim(), ltrim() and rtrim()... |
derby-DERBY-3214-87fd7022 | DERBY-3214: Account for loss of precision that can occur when very
large cost estimates are added to, and then subtracted from, relatively
small cumulative estimates during Optimizable "pull" processing.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@603659 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerImpl.java",
"hunks": [
{
"added": [
"\t\t\t\t\t** loss of precision--but that should ONLY happen if the",
"\t\t\t\t\t** optimizable we just pulled was at position 0. If we",
"\t\t\t\t\t** have a ne... |
derby-DERBY-3214-c741a20a | DERBY-3214: Follow-up patch to fix a bug in the first commit.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@604513 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerImpl.java",
"hunks": [
{
"added": [
"\t\t\t\t\t\t\tnewCost = recoverCostFromProposedJoinOrder(false);"
],
"header": "@@ -875,7 +875,7 @@ public class OptimizerImpl implements Optimizer",
"remove... |
derby-DERBY-3215-90daaabd | DERBY-3215 Potential NullPointerException in CachedPage class
Patch DERBY-3215b; code cleanup follow-up, no semantic change.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@597123 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/CachedPage.java",
"hunks": [
{
"added": [],
"header": "@@ -23,22 +23,17 @@ package org.apache.derby.impl.store.raw.data;",
"removed": [
"import org.apache.derby.impl.store.raw.data.BasePage;",
"",
... |
derby-DERBY-3216-63bc195f | DERBY-3216
If btree post commit thread can not get table level lock for row cleanup and
possible tree merging, then instead attempt just row level row purging. Without
this change some stress tests were seeing post commit queue continuous grow
as there was always some thread with a lock on the index, and thus the ite... | [
{
"file": "java/engine/org/apache/derby/impl/store/access/btree/BTreePostCommit.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.store.access.RowUtil;",
""
],
"header": "@@ -30,7 +30,9 @@ import org.apache.derby.iapi.store.access.AccessFactory;",... |
derby-DERBY-3219-a840fa50 | DERBY-3219: GROUP BY query fails with ERROR XSDA7
The underlying cause of this problem is that the externalized data format
for a MaxMinAggregator instance includes the max (or min) value that the
aggregator is processing, and this data value happens to be embedded
*inside* of the overall externalized data format. How... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/MaxMinAggregator.java",
"hunks": [
{
"added": [
"\t// Formatable implementations usually invoke the super()",
"\t// version of readExternal or writeExternal first, then",
"\t// do the additional actions here... |
derby-DERBY-3220-925ae992 | DERBY-3220 <transition table or variable list> (ReferencingClause) in CREATE TRIGGER statement not SQL compliant
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@597604 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3221-2a31ed91 | DERBY-3221: "java.sql.SQLException: The conglomerate (-5) requested does not exist." from Derby 10.3.1.4 embedded within Eclipse 3.3 and RAD 7.0
Patch file: derby-3221.v3.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@613116 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/TemporaryRowHolderImpl.java",
"hunks": [
{
"added": [
"\tprivate\tlong\t\t\t\t CID;"
],
"header": "@@ -67,7 +67,7 @@ class TemporaryRowHolderImpl implements TemporaryRowHolder",
"removed": [
... |
derby-DERBY-3222-a30f4ad8 | Merging change(599933) from 10.3 codeline into trunk for DERBY-3222 The commit comment for checkin into 10.3
codeline was as follows
The test will fail depending on the timing. It inserts CURRENT_DATE into a column and then compares that
column with whatever the CURRENT_DATE might be during the run of compare sql. If... | [] |
derby-DERBY-3229-4aa78691 | DERBY-3229: Make SysinfoLocaleTest print more information on failure
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@598456 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-323-a4aa5a7e | DERBY-323: Locale problem in test of derby
Description of the patch:
1) Rewrite tools/derbyrunjartest.java to use jvm.getCommandLine() to
get the command line to start the test with.
2) Move the setting of user.language and user.country from RunTest
and NetServer to jvm.getCommandLine(). This way, all ... | [] |
derby-DERBY-3230-fca5be58 | DERBY-3230 Selecting data from a Table raises Error XN008: Query processing has been terminated due to an error on the server
The solution was to move the retrieval of all of the data associated with the QRYDTA before the ResultSet is marked as closed on the server.
git-svn-id: https://svn.apache.org/repos/asf/db/d... | [
{
"file": "java/client/org/apache/derby/client/net/NetCursor.java",
"hunks": [
{
"added": [
" // If we don't have at least one byte in the buffer for the DA null indicator,",
" // then we need to send a CNTQRY request to fetch the next block of data.",
... |
derby-DERBY-3231-71b56308 | DERBY-3231: Sorting on COUNT with OR and GROUP BY delivers wrong results.
Patch contributed by: Manish Khettry.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@603954 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3233-59678316 | DERBY-3233 ComparisonFailure in derbyStress
Change test to close connection to ensure all result sets are closed before dropping the table.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@614277 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3238-75d1fb19 | DERBY-3238 minor cleanup in TriggerTest to remove getConnection() calls
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@601118 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3238-9696c22c | DERBY-3238 Add test cases when the lob columns are referenced and referenced multiple times.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@604042 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3238-d2d2e684 | DERBY-3238 When table contains large LOB values (> ~32K) trigger execution fails for that row with ERROR XCL30: An IOException was thrown when reading a 'BLOB'
When a trigger is present, unchanged columns with be part of the UpdateResultSet. These columns are present twice in the result set as a before and after value... | [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/DMLWriteResultSet.java",
"hunks": [
{
"added": [
"import java.io.InputStream;",
""
],
"header": "@@ -21,6 +21,8 @@",
"removed": []
}
]
}
] |
derby-DERBY-3242-ad72a2b5 | DERBY-3242: ij doesn't understand bracketed comments
Fix contributed by James F. Adams.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@604871 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/StatementFinder.java",
"hunks": [
{
"added": [
" Comments currently recognized include the SQL comment,",
" which begins with \"--\" and ends at the next EOL, and nested",
" bracketed comments."
... |
derby-DERBY-3243-212a1264 | DERBY-3243 (jdbc net client) exception during normal iteration through "ResultSet" of "select * from t"
Allow locators > 32K. Exclude extended length values 0x800x so that lob by value will work with older versions. Exclude negative and 0 locators.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@6... | [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java",
"hunks": [
{
"added": [
"\t* Return the current locator value/",
" * 0x800x values are not valid values as they are used to indicate the BLOB ",
" * is being sent by value, so ... |
derby-DERBY-3243-66fe22b0 | DERBY-3243 (jdbc net client) exception during normal iteration through "ResultSet" of "select * from t"
Add test retrieving more than 32K lobs.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@630036 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-3244-5faf131d | DERBY-3244
In the case of a wait for a latch while traveling left at leaf level, and
a subsequent wait for either a lock or another latch while looking for row
to lock then one path through the code would get a null pointer. The code
was trying to release a latch that had already been released and was tracked
by "cur... | [
{
"file": "java/engine/org/apache/derby/impl/store/access/btree/index/B2IRowLocking3.java",
"hunks": [
{
"added": [
" /**",
" * move left in btree and lock previous key.",
" * <p>",
" * Enter routine with \"current_leaf\" latched. This ro... |
derby-DERBY-3249-fafbff83 | Add JDBC.assertGeneratedKeyResultSet() to verify the type and concurrency of ResultSets returned by Statement.getGeneratedKeys. Add a commented out test case in AutoGenJDBC30Test.java that shows the bug DERBY-3249.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@601044 13f79535-47bb-0310-9956-ffa450ed... | [
{
"file": "java/testing/org/apache/derbyTesting/junit/JDBC.java",
"hunks": [
{
"added": [
" /**",
" * Assert that a ResultSet representing generated keys is non-null",
" * and of the correct type. This method leaves the ResultSet",
" * ope... |
derby-DERBY-3250-e621aee2 | DERBY-3250 : making NetworkServerTestSetup using a Runtime.exec(String[]) rather than Runtime.exec(String) to prevent trouble with spaces in arguments.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@608140 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java",
"hunks": [
{
"added": [
" ArrayList al = new ArrayList();",
" al.add( \"java\" );",
" al.add( \"-classpath\" );",
" al.add( classpath );... |
derby-DERBY-3253-32edb61b | DERBY-3253: Fix NPE for IN list operator when the probe predicate is
pushed into a subselect but then multi-probing does not occur.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@605616 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/BinaryRelationalOperatorNode.java",
"hunks": [
{
"added": [
"\t * back to the InListOperatorNode referenced here. NOTE: Once",
"\t * set, this variable should *only* ever be accessed via the",
"\t * isInLis... |
derby-DERBY-3257-2e556fe3 | DERBY-3257 SELECT with HAVING clause containing OR conditional incorrectly return 1 row - should return 2 rows - works correctly with 10.2 DB
Normalize the havingClause before calling preprocess. This made it necessary to explicitly exclude having subqueries from flattenning, before they were implicitly excluded beca... | [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/SelectNode.java",
"hunks": [
{
"added": [
"\t\twhereClause = normExpressions(whereClause);",
"\t\t// DERBY-3257. We need to normalize the having clause as well, because ",
"\t\t// preProcess expects CNF.",
... |
derby-DERBY-3258-dd32c163 | DERBY-3258: 'Unexpected row count: expected:<0> but was:<3>' in testReleaseCompileLocks
Wait for post-commit work to complete before checking the contents of
the lock table.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1041338 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-326-f3ab04f3 | - DERBY-326 Improve streaming of large objects for network server and client - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@405037 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/DDMWriter.java",
"hunks": [
{
"added": [
"import java.io.InputStream;",
"import java.io.BufferedInputStream;",
"import java.io.BufferedOutputStream;",
"import org.apache.derby.iapi.reference.Property;",
... |
derby-DERBY-3260-387d1fb4 | DERBY-3260: NullPointerException caused by race condition in GenericActivationHolder
Hold the synchronization lock on the GenericPreparedStatement until
the activation class has been retrieved. This prevents other threads
from setting the activation class to null before we have retrieved it,
and thereby prevents the N... | [
{
"file": "java/engine/org/apache/derby/impl/sql/GenericActivationHolder.java",
"hunks": [
{
"added": [
" GeneratedClass newGC;",
"",
" // DERBY-3260: If someone else reprepares the statement at the",
" // sam... |
derby-DERBY-3266-58d069af | DERBY-3266 Not possible for non-db-owner to create a temporary table
Patch derby-3266-2. With this patch, a non-dbo user can use temporary
tables. A new testcase was added to GrantRevokeDDLTest.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@704762 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/CompilerContextImpl.java",
"hunks": [
{
"added": [
"",
"\t\tif (td.getTableType() ==",
"\t\t\t\tTableDescriptor.GLOBAL_TEMPORARY_TABLE_TYPE) {",
"\t\t\treturn; // no priv needed, it is per session ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.