[mythtv-commits] mythtv/master commit: eda0880f9 by Michael T. Dean (sphery)

MythTV noreply at mythtv.org
Wed Apr 20 19:14:29 UTC 2011


      Author:  Michael T. Dean <mdean at mythtv.org>
 Change Date:  2011-04-20T12:11:50-07:00
   Push Date:  2011/04/20 12:14:27 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  eda0880f93f6de4c501ae7304787825fc5cdd588
   Changeset:  https://github.com/MythTV/mythtv/commit/eda0880f9

Log:

Fix the check to see if we have a valid DB schema.

Change the code that checks to see if we have a schema available so that
it doesn't use a count of the value returned by QSqlDatabase::tables().
The tables() function returns a list of all tables visible to the
user--even tables in other databases--so can result in false positives.

Refs #9742.

Modified:

   mythtv/libs/libmythbase/mythdbcon.cpp



More information about the mythtv-commits mailing list