[mythtv] [mythtv-commits] Ticket #4013: Prompt before upgrading database schema

Nigel Pearson nigel at ind.tansu.com.au
Wed Sep 26 03:38:07 UTC 2007


> I'm not sure about the 'Use old schema' option - that's too likely  
> to corrupt
> things, I'd think.

If IGNORE_PROTO_VER_MISMATCH isn't defined
most things are still safe because they
cannot actually talk to the backend.


It may still cause problems, but I wanted a
way to allow newer frontends to at least run.

e.g. Someone brings over a new LiveCD or their
laptop to demonstrate a new plugin or feature.
You graciously let them connect to your database,
but not do anything dangerous like scheduling or
editing recordings.


If you are still uncomfortable, maybe a second
OkPopup after the user selects "Use old..." ?




> Actually, it might make more sense to just pop up a message and say  
> 'Please
> run mythtv-setup on the master backend to upgrade the schema', and  
> refuse to
> run until that's done.

Possible, although the current ability to upgrade
from several programs is a lot simpler?

--
Nigel Pearson, nigel at ind.tansu.com.au|"Things you own-
Telstra Net. Eng., Sydney, Australia | end up owning you"
Office: 9202 3900    Fax:  9261 3912 |      Tyler,
Mobile: 0408 664435  Home: 9792 6998 |    Fight Club


More information about the mythtv-dev mailing list