DERBY-6547(testDERBY5120NumRowsInSydependsForTrigger fails when the starting version of the upgrade trajectory is 10.10.2.0)

 Backporting from trunk to 10.8



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