Author: danielk
Date: 2008-04-28 19:00:13 +0000 (Mon, 28 Apr 2008)
New Revision: 17160
Changeset: http://cvs.mythtv.org/trac/changeset/17160
Modified:
trunk/mythtv/libs/libmyth/dbutil.cpp
trunk/mythtv/libs/libmyth/dbutil.h
trunk/mythtv/libs/libmythtv/datadirect.cpp
trunk/mythtv/libs/libmythtv/dbcheck.cpp
Log:
Refs #5267. Fixes two chicken and egg problems with DB initialization.
The first is not to do the datadirect programid update if the DB is empty. This didn't do any harm, but caused some error messages to be logged.
The second is not to do the database backup on an empty database, since it will fail to find settings and housekeeping tables.
There are some other problems running mythtv-setup to initialize the database, but these seem to be Qt4 port related.
svn commit -m Refs