Issue Details (XML | Word | Printable)

Key: CORE-3844
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Vlad Khorsun
Votes: 0
Watchers: 1
Operations

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

Validation not detects one specific case of index corruption

Created: 11/May/12 07:30 PM   Updated: 23/Apr/13 01:51 PM
Component/s: Engine
Affects Version/s: 2.1.0, 2.1.1, 2.0.5, 2.1.2, 2.1.3, 3.0 Initial, 2.0.6, 2.5.0, 2.1.4, 2.5.1, 2.0.7
Fix Version/s: 2.1.5, 2.5.2, 3.0 Alpha 1

Time Tracking:
Not Specified

Issue Links:
Relate
 

Planning Status: Unspecified


 Description  « Hide
Below i consider a two index keys where one (shorter) key is a full prefix of another (longer) key, for example:
- 'aa' and 'aaa'
- '' and 'a'

The rule :
- in ascending index short key is less then long key ('aa' < 'aaa', '' < 'a')
- in descending index short key is greater then long key ('aaa' < 'aa', 'a' < '').

The validation code is not detect the cases when rule above is violated.
For example, corruption at CORE-3839\CORE-3841 is not detected.


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.