calendar/MDL-47466 calendar: fixed error ORA-01795 in calendar_get_events