DERBY-1028: Change constructors in NetConnection classes to use LogWriter instead of NetLogWriter

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1505928 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6267: Add tests for compact optimizer overrides on queries with FETCH/OFFSET clauses; commit derby-6267-04-aa-fetchOffsetTest.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1506054 13f79535-47bb-0310-9956-ffa450edef68
DERBY-673: Get rid of the NodeFactory

Patch derby-673-nuke-ctypes-without-enum-3.

This patch removes the usage of the global nodeType integer (see
QueryTreeNode) defined by C_NodeType.java. After the removal of the
node factory, this global quantity whose use mimicked "instanceof" can
be discarded, mostly. For some node which represent several logical
node types, e.g. BinaryArithmeticOperatorNode which can represent for
example both + and minus, a new quantity, "kind" is introduced to
differentiate between the logical types of nodes.

We introduce a default method ValueNode#isSameNodeKind which the
classes that implement several kinds need to override to add the extra
kind check. This is then called from the isEquivalent overrides as
needed.

JavaDoc for isSameNodeKind:

/**
 * Some node classes represent several logical node types (to reduce
 * footprint), which we call kinds.
 * This means that implementations of {@link #isEquivalent()}
 * cannot always just use instanceof to check if the other node
 * represents the same kind. Hence this method needs to be
 * implemented by all node classes that represent several kinds.
 * It is only called from implementations of isEquivalent.
 *
 * @param other The other value node whose kind we want to compare with.
 * @return true if this and o represent the same
 *         logical node type, i.e. kind.
 */

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1506827 13f79535-47bb-0310-9956-ffa450edef68
Java doc warning fixes

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1506885 13f79535-47bb-0310-9956-ffa450edef68
Java doc fix

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1506904 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6304: Remove unused methods in Predicate

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1507211 13f79535-47bb-0310-9956-ffa450edef68
DERBY-4378: Create test cases for MultiProbeTableScanResultSet with duplicates in the probe list

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1507212 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6295: Allow tests to show detailed error when spawning new process fails

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1507215 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6291: Improve test coverage of org.apache.derby.iapi.jdbc.BrokeredCallableStatement

This patch was contributed by Ahsan Shamsudeen (ahsan dot competition at gmail dot com)

This patch adds a collection of test cases which exercise the "named
parameters" APIs in the CallableStatement interface. Currently, these APIs
are not implemented by Derby, and stub implementations are present in
BrokeredCallableStatement, LogicalCallableStatement, ClientCallableStatement,
and EmbedCallableStatement.

These stub implementations are now exercised by the CallableTest test suite.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1507337 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6294 On z/os on some machines:testAttributeDrdaHost(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError 

Improve message when failure occurs. This does not fix the issue.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1507368 13f79535-47bb-0310-9956-ffa450edef68
DERBY-673: Get rid of the NodeFactory

Javadoc fix.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1507747 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6294  On z/os on some machines:testAttributeDrdaHost(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError

Add IPV6 loopback address (0:0:0:0:0:0:0:1) to test


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1508853 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6308: Correct type in the license header of OptimizerOverridesTest; commit derby-6308-01-aa-correctLicenseHeader.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1509000 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5865 On IBM 1.7 TestDurabilityProperty fails with FAIL -- derby.system.durability=test mode seems to be broken. 

Add timing values to fail output to make test easier to debug.
Does not fix the issue.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1509348 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6211: Don't instantiate new optimizers just to create empty CostEstimate objects; commit derby-6211-10-aa-makingCostEstimateObject.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1509671 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6211: Move the tracer out of the optimizer; tests passed cleanly on derby-6211-11-ab-moveTracerOutOfOptimizer.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1509815 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6211: Trace the end of optimizing a query block so that the xml-based optimizer tracer can associate trace information with the correct query block; commits derby-6211-12-aa-traceEndOfQueryBlock.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1511315 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6211: Mark the end of join optimization with a call to traceEndQueryBlock(); commit derby-6211-13-aa-SelectNode_optimizer.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1512294 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5560 Java deadlock between LogicalConnection40 and ClientXAConnection40

Patch contributed by Brett Bergquist



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1513218 13f79535-47bb-0310-9956-ffa450edef68
DERBY-4628: Replace the Derby jargon term territory with the more familiar term locale in some Derby messages; commits derby-4628-01-ab-useLocaleInMessagesRatherThanTerritory.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1514387 13f79535-47bb-0310-9956-ffa450edef68