bug 351598 - Fixes task SQL query. r1=ssitter, r2=jminta

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mattwillis%gmail.com
2006-09-06 22:40:36 +00:00
parent 7f44a0b977
commit add76b6ab0

View File

@@ -1101,12 +1101,12 @@ calStorageCalendar.prototype = {
this.mDB,
"SELECT * FROM cal_todos " +
"WHERE " +
" (("+floatingTodoDue+" >= :range_start + :start_offset) OR " +
" ("+nonFloatingTodoDue+" >= :range_start)) OR " +
" (todo_due IS NULL) AND " +
" (("+floatingTodoEntry+" < :range_end + :end_offset) OR " +
" ("+nonFloatingTodoEntry+" < :range_end)) OR " +
" (todo_entry IS NULL) " +
" ((("+floatingTodoDue+" >= :range_start + :start_offset) OR " +
" ("+nonFloatingTodoDue+" >= :range_start)) OR " +
" (todo_due IS NULL)) AND " +
" ((("+floatingTodoEntry+" < :range_end + :end_offset) OR " +
" ("+nonFloatingTodoEntry+" < :range_end)) OR " +
" (todo_entry IS NULL)) " +
" AND cal_id = :cal_id AND recurrence_id IS NULL"
);