[mythtv-commits] mythtv commit: r25418 by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jul 25 01:39:49 UTC 2010


      Author: mdean
        Date: 2010-07-25 01:39:49 +0000 (Sun, 25 Jul 2010)
New Revision: 25418
   Changeset: http://svn.mythtv.org/trac/changeset/25418

Modified:

   trunk/mythtv/libs/libmythtv/dbcheck.cpp

Log:

Modify UpdateDBVersionNumber() to accept the current dbver and update its value, just like performActualUpdate().

This will prevent our forgetting to manually update dbver after calling UpdateDBVersionNumber() for updates that don't use performActualUpdate() (which results in the upgrade sequence stopping at the point of the forgotten update, and MythTV unknowingly operating on an out-of-date schema version until the application is restarted).  The patch also adds "Upgrading to MythTV schema version xxxx" messages for all the "invisible" updates that use UpdateDBVersionNumber(), to ensure that there are no "skipped" version numbers in the log output.





More information about the mythtv-commits mailing list