Backporting revision 1430735 to 10.9

Backporting DERBY-6030(Length of escape string in LIKE ... ESCAPE not properly checked with territory based collation) to 10.9




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