[mythtv] [PATCH] prompt before upgrading database

Isaac Richards ijr at po.cwru.edu
Tue Oct 19 07:43:06 UTC 2004


On Sunday 17 October 2004 08:15 am, Andrew Dennison wrote:
> I recnetly had an "incident" where I ran a cvs version of setup on my
> main system. The database schema was upgraded a few levels before I had
> realised what I'd done:0
>
> Attached patch (dbcheck0.diff) makes setup prompt before it starts the
> upgrade.
>
> dbcheck1.diff prevents mythbackend and mythfrontend from also updating
> the db - forces you to run setup if db isn't up to date. This may? not
> be acceptable so it's split into a separate patch.
>
> Maybe this will help others who start upgrades late at night too.

I won't apply this.  If you're upgrading one piece of myth, you need to 
upgrade all of it.  It shouldn't matter what's restarted first.

Isaac


More information about the mythtv-dev mailing list