[mythtv] [mythtv-commits] Ticket #4013: Prompt before upgrading database schema
Isaac Richards
ijr at case.edu
Wed Sep 26 02:43:18 UTC 2007
>- This adds a new method, MythContext::!PromptForSchemaUpgrade() which if
> possible asks the user before upgrading the database schema. If the context
> has a GUI (mythtv-setup, mythfrontend) it will use a Popup. If the context
> has no GUI (mythbackend and friends), it prompts in the command shell
> (unless stdin or stdout is redirected, in which case it defaults to the
> current behaviour - upgrading).
I'm not sure about the 'Use old schema' option - that's too likely to corrupt
things, I'd think.
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.
Isaac
More information about the mythtv-dev
mailing list