/[Apache-SVN]
ViewVC logotype

Revision 1524645


Jump to revision: Previous Next
Author: kahatlen
Date: Thu Sep 19 07:51:45 2013 UTC (10 years, 7 months ago)
Changed paths: 3
Log Message:
DERBY-534: Support use of the WHEN clause in CREATE TRIGGER statements

Move common logic for executing WHEN clause and trigger action to the
base class GenericTriggerExecutor. In addition to reducing code
duplication, the change makes row triggers reuse the prepared
statement for the WHEN clause (same as it already does for the trigger
action), and it makes statement triggers not leave the before and
after result sets open if the WHEN clause evaluates to false.

Changed paths

Path Details
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/GenericTriggerExecutor.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/RowTriggerExecutor.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/StatementTriggerExecutor.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26