[mythtv-commits] Ticket #9742: Mythtv-setup fails to create the initial database

MythTV noreply at mythtv.org
Wed Apr 20 19:25:09 UTC 2011


#9742: Mythtv-setup fails to create the initial database
--------------------------------------+-----------------------------
 Reporter:  cedric.dewijs@…           |          Owner:  mdean
     Type:  Bug Report - General      |         Status:  closed
 Priority:  minor                     |      Milestone:  0.24.1
Component:  MythTV - Mythtv-setup     |        Version:  Unspecified
 Severity:  medium                    |     Resolution:  fixed
 Keywords:                            |  Ticket locked:  0
--------------------------------------+-----------------------------
Changes (by Github):

 * status:  accepted => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.24.1


Comment:

 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)
  Changeset: 4fe108c258777901c49d069267de3202653fea26

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9742#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list