[mythtv-users] Which tables to alter to remove deadlock?

Jay R. Ashworth jra at baylink.com
Tue Aug 31 13:00:45 EDT 2004


On Mon, Aug 30, 2004 at 08:35:47PM -0400, Chris Pinkham wrote:
> > I can't find this values in the source. So I tried to set everyone to 0 and 
> > severly messed up the database.
> > What values should it have? Can I restore it with some program?
> 
> >From mythtv/libs/libmythtv/programinfo.h
> 
> enum CommFlagStatuses {
>     COMM_FLAG_NOT_FLAGGED = 0,
>     COMM_FLAG_DONE = 1,
>     COMM_FLAG_PROCESSING = 2,
>     COMM_FLAG_COMMFREE = 3
> };
> 
> Set them all to 1 to make Myth think it's already flagged them all.

Are there semantic implications to choosing done over not_flagged that
might cause trouble down the road?  Assumptions in code are rarely
documented.

(I'm hoping to get someone who's married to the table semantics to
annotate the Wiki for me soon...)

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

	"You know: I'm a fan of photosynthesis as much as the next guy,
	but if God merely wanted us to smell the flowers, he wouldn't 
	have invented a 3GHz microprocessor and a 3D graphics board."
					-- Luke Girardi


More information about the mythtv-users mailing list