[mythtv-commits] Ticket #5314: Use GetSetting() to retrieve DBSchemaVer

MythTV mythtv at cvs.mythtv.org
Thu Jul 31 03:21:17 UTC 2008


#5314: Use GetSetting() to retrieve DBSchemaVer
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |        Owner:  greg      
     Type:  patch                             |       Status:  assigned  
 Priority:  minor                             |    Milestone:  unknown   
Component:  mythtv                            |      Version:  0.21-fixes
 Severity:  medium                            |   Resolution:            
  Mlocked:  0                                 |  
----------------------------------------------+-----------------------------

Comment(by nigel):

 Michael, not sure either one is needed now. dbcheck.cpp seems to use
 GetSetting("DBSchemaVer"), as does SchemaUpgradeWizard::Compare:
 {{{
     DBver = gContext->GetSetting(m_schemaSetting);

     // No current schema? Investigate further:
     if (DBver.isEmpty() || DBver == "0")
     {
         VERBOSE(VB_GENERAL, "No current database version?");
 }}}
 and the "no_blank" is not needed, because of the verbose line above?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5314#comment:4>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list