DERBY-5866 (testFiringConstraintOrder(org.apache.derbyTesting.functionTests.tests.lang.TriggerTest)junit.framework.AssertionFailedError: matching triggers need to be fired in order creation:1,NO CASCADE BEFORE,DELETE,ROW)

backporting changes from trunk into 10.9



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