DERBY-6363: Incorrect evaluation of logical expressions in CASE

Skip conversion of OR nodes to IN lists if the OR node is not on
conjunctive normal form.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1529099 13f79535-47bb-0310-9956-ffa450edef68
DERBY-534: Support use of the WHEN clause in CREATE TRIGGER statements

Add a test case to verify that the WHEN clause SPS is invalidated and
recompiled if one of its dependencies requests a recompilation.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1529145 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6371: DROP COLUMN looks in wrong schema when checking trigger dependencies

Use the same schema during dependency checking as during compilation
of the trigger action.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1530517 13f79535-47bb-0310-9956-ffa450edef68
DERBY-3624 testfailure in storetests/st_derby715 with ibm 1.5 on iseries machine; one deadlock message missing

Change test to check locks rather than sleep for synchronization.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1530696 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5317: Detect attempts to reuse a connection that in the middle of sending a request to the server. Use this to provide a better error message and avoid the NPE.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1530704 13f79535-47bb-0310-9956-ffa450edef68
DERBY-534: Support use of the WHEN clause in CREATE TRIGGER statements

Reuse code for dependency checking of the triggered SQL statement for
checking dependencies in the WHEN clause.

Add test to verify that attempts to drop columns referenced in the WHEN
clause detect that the trigger is dependent on the columns.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1530887 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6371: DROP COLUMN looks in wrong schema when checking trigger dependencies

Fix another occurrence where the wrong schema is used. This occurrence
doesn't cause any problems currently, since it's only used for
parsing, and the problems wouldn't appear until one attempt to do
binding with the incorrect schema. Fix it anyway for consistency.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1530913 13f79535-47bb-0310-9956-ffa450edef68
DERBY-534: Support use of the WHEN clause in CREATE TRIGGER statements

Make the code in TriggerDescriptor.getActionSPS() reusable for
TriggerDescriptor.getWhenClauseSPS() so that the fixes for DERBY-4874
and Cloudscape bug 4821 also get applied to the WHEN clause.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1531226 13f79535-47bb-0310-9956-ffa450edef68
DERBY-534: Support use of the WHEN clause in CREATE TRIGGER statements

Add tests to verify that the when clause operates with the privileges
of the user that created the trigger, and that exceptions thrown in
the WHEN clause are handled gracefully.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1531279 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6352; Access denied ("java.lang.RuntimePermission" "modifyThread") in store.RecoveryAfterBackup test
  adding try/catch code to provide more information when this happens


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1531721 13f79535-47bb-0310-9956-ffa450edef68
DERBY-2446; Remove notion of the old test harness from TestConfiguration
  Removing remaining references, and also removing remaining files from tests/junitTests


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1531729 13f79535-47bb-0310-9956-ffa450edef68
DERBY-2446; Remove notion of the old test harness from TestConfiguration


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1531730 13f79535-47bb-0310-9956-ffa450edef68
DERBY-2423: Make EmbedResultSetMetaData.isCrurrency() return false for DECIMAL and NUMERIC columns.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1531821 13f79535-47bb-0310-9956-ffa450edef68
DERBY-3573: Remove incorrect check against maxRows when setting fetchSize. Patch contributed by Nirmal Fernando.

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