[mythtv] [mythtv-commits] mythtv commit: r17160 - in trunk/mythtv/libs by danielk
Nigel Pearson
nigel at ind.tansu.com.au
Tue Apr 29 03:59:03 UTC 2008
>> I'm not getting a 0. Just created a new empty DB,
>> and the schema version is empty:
> hmmm
Indeed. I also just tested on a Qt 3 machine.
Same deal. These were both MySQL 5.0.32.
>> Even better would be to fix dbutil::BackupDB()
>> to not attempt a backup if there are no tables?
>
> That would solve the DB backup part, but not the automatically
> upgrading
> the schema part.
Sure. I just committed an extra test
in PromptForSchemaUpgrade()
of both trunk and fixes.
The additional ones in UpgradeTVDatabaseSchema()
can stay, until I work out a better MinGW backup fix.
--
Nigel Pearson, nigel at ind.tansu.com.au| 4 8
Telstra Net. Eng., Sydney, Australia | 15 16
Office: 9202 3900 Fax: 9261 3912 | 23 42
Mobile: 0408 664435 Home: 9792 6998 | Lost
More information about the mythtv-dev
mailing list