Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8525 closed enhancement (fixed)

Truncate additional tables when using "Delete All Video Sources"

Reported by: Nick Morrott <knowledgejunkie (at) gmail (dot) com> Owned by: sphery
Priority: minor Milestone: 0.24
Component: MythTV - Mythtv-setup Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When deleting all video sources, current behaviour does not truncate the eit_cache, channelgroup or channelgroupnames tables. The eit_cache and channelgroup tables are keyed agaisnt chanid, which is lost when truncating the channel table. It therefore seems sensible to truncate these tables to remove this stale data.

Patch is against trunk @ r24387.

Attachments (1)

8525-truncate-tables.diff (664 bytes ) - added by Nick Morrott <knowledgejunkie (at) gmail (dot) com> 16 years ago.

Download all attachments as: .zip

Change History (4)

by Nick Morrott <knowledgejunkie (at) gmail (dot) com>, 16 years ago

Attachment: 8525-truncate-tables.diff added

comment:1 by robertm, 16 years ago

Owner: changed from Isaac Richards to sphery
Status: newassigned

comment:2 by sphery, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [26236]) Truncate additional tables that depend on the chanid when "Delete all video sources" is selected. Fixes #8525 using patch from Nick Morrott.

comment:3 by stuartm, 16 years ago

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.