[mythtv-commits] Ticket #5286: Fix initial database creation

MythTV mythtv at cvs.mythtv.org
Sat May 3 22:12:06 UTC 2008


#5286: Fix initial database creation
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |        Owner:  ijr    
     Type:  patch                             |       Status:  new    
 Priority:  minor                             |    Milestone:  unknown
Component:  mythtv                            |      Version:  head   
 Severity:  medium                            |   Resolution:         
  Mlocked:  0                                 |  
----------------------------------------------+-----------------------------

Comment(by sphery <mtdean at thirdcontact.com>):

 mythtv-5286-allow_PromptForSchemaUpgrade_to_check_for_empty_DB.patch
 removes the check for 'if (dbver == "0") that prevents the call to
 PromptForSchemaUpgrade().  Since PromptForSchemaUpgrade() is doing a
 check, 'if (dbver.isEmpty() || dbver == "0")', the check before the call
 is unnecessary, and calling PromptForSchemaUpgrade() causes the VB_GENERAL
 message, "No current database version. Auto upgrading", to be written.

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


More information about the mythtv-commits mailing list