[mythtv-commits] mythtv/fixes/0.24 commit: 4fe108c25 by Michael T. Dean (sphery)
MythTV
noreply at mythtv.org
Wed Apr 20 19:25:08 UTC 2011
Author: Michael T. Dean <mdean at mythtv.org>
Change Date: 2011-04-20T12:24:24-07:00
Push Date: 2011/04/20 12:25:04 -0700
Repository: mythtv
Branch: fixes/0.24
New Revision: 4fe108c258777901c49d069267de3202653fea26
Changeset: https://github.com/MythTV/mythtv/commit/4fe108c25
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.
Fixes #9742.
(cherry picked from commit eda0880f93f6de4c501ae7304787825fc5cdd588)
Modified:
mythtv/libs/libmythdb/mythdbcon.cpp
More information about the mythtv-commits
mailing list