Issue Details (XML | Word | Printable)

Key: DERBY-20
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Unassigned
Reporter: Tulika Agrawal
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Derby

LIKE handles strings with control characters incorrectly.

Created: 29/Sep/04 07:11 PM   Updated: 31/Jul/06 06:33 AM
Return to search
Component/s: SQL
Affects Version/s: 10.0.2.0
Fix Version/s: 10.1.3.1, 10.2.1.6

Time Tracking:
Not Specified

File Attachments:
  Size
Text File server.log 2005-07-22 05:12 AM David Van Couvering 395 kB

Resolution Date: 31/Jul/06 06:33 AM


 Description  « Hide
Reporting for Daniel John Debrunner.

If a string contains control characters in the regions matched
by wild card characters then in some situations a LIKE will
return false instead of true and the row will not be returned.

Caused by the dynamic like optimization using >= with a prefix
which is is equivalent to >= on the prefeix appended with
blanks and not null (\u0000) characters.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Van Couvering made changes - 22/Jul/05 05:12 AM
Field Original Value New Value
Attachment server.log [ 12311348 ]
Øystein Grøvlen made changes - 31/Jul/06 06:33 AM
Fix Version/s 10.2.0.0 [ 11187 ]
Fix Version/s 10.1.3.1 [ 12311953 ]
Status Open [ 1 ] Closed [ 6 ]
Resolution Duplicate [ 3 ]