[mythtv] [mythtv-commits] Ticket #4013: Prompt before upgrading database schema
nigel at ind.tansu.com.au
Mon Oct 1 06:34:19 UTC 2007
Second version of the patch attached to ticket.
> Oh, also, this should be checking for DB versions that are _higher_
> than what
> the current code knows about.
Done. It also adds a second confirmation PopUp,
and hides the "Use existing schema" button
(unless DBSchemaAutoUpgrade == -1).
I haven't worked out a nice way to check if
backends or other frontends are running, though.
Working out the MBE IP address and querying it,
and doing the same for SBEs is possible,
but any number of other frontends could
also be connected.
For now, the UI for an extra message is there
(if other clients are connected to the database),
but not the code to actually count connections.
I would prefer to commit soon,
and fill that part in later.
Nigel Pearson, nigel at ind.tansu.com.au| "Peacemaking is our profession"
Telstra Net. Eng., Sydney, Australia |Motto of Burpelson Airforce Base
Office: 9202 3900 Fax: 9261 3912 |Commanded by Gen. Jack D. Ripper
Mobile: 0408 664435 Home: 9792 6998 | Dr Strangelove
More information about the mythtv-dev