SQL query for non-recurrent events is not correct

RESOLVED FIXED

Status

Calendar
Internal Components
--
major
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: Thomas Benisch, Assigned: Thomas Benisch)

Tracking

({dataloss})

Trunk
dataloss

Details

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
In the storage calendar the SQL query for non-recurrent events
is not correct for the case start_offset != end_offset.
(Assignee)

Comment 1

12 years ago
taking over this task
Assignee: base → thomas.benisch
(Assignee)

Comment 2

12 years ago
Created attachment 224187 [details] [diff] [review]
patch v1

start_offset always refers to range_start, end_offset always refers to range_end
Attachment #224187 - Flags: first-review?(dmose)

Updated

12 years ago
Severity: minor → major
Keywords: dataloss
OS: Windows XP → All
Hardware: PC → All

Comment 3

12 years ago
Comment on attachment 224187 [details] [diff] [review]
patch v1

Looks good; thanks for the patch.  I'm taking the liberty of also correcting the pseudo-code in the (already existing) comment, as it has a thinko.
Attachment #224187 - Flags: first-review?(dmose) → first-review+

Comment 4

12 years ago
Fix checked in using cross-commit on both branch and trunk.  I also added your name and email address to the license boilerplate changes at the top of the file.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.