[mythtv-commits] mythtv commit: r26987 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Oct 25 22:16:41 UTC 2010


      Author: stuartm
        Date: 2010-10-25 22:16:41 +0000 (Mon, 25 Oct 2010)
New Revision: 26987
   Changeset: http://svn.mythtv.org/trac/changeset/26987

Log:

WriteDelayedSettings() depends on knowing when we can safely write settings to the database, the existing code didn't check for the presence of a settings table and so failed on an entirely fresh install. This broke the locale selection as the chosen values were never written to the database. This commit adds a check for tables (it does not look for a settings table specifically) and actually checks whether we have a valid connection.

Modified:

   trunk/mythtv/libs/libmythdb/mythdb.cpp
   trunk/mythtv/libs/libmythdb/mythdb.h
   trunk/mythtv/libs/libmythdb/mythdbcon.cpp




More information about the mythtv-commits mailing list