[mythtv-commits] Ticket #5659: Add full path for XMLTV config file to database

MythTV mythtv at cvs.mythtv.org
Sun Aug 31 12:57:42 UTC 2008


#5659: Add full path for XMLTV config file to database
------------------------------+---------------------------------------------
 Reporter:  laga at laga.ath.cx  |        Owner:  stuartm   
     Type:  patch             |       Status:  assigned  
 Priority:  minor             |    Milestone:  0.21.1    
Component:  mythtv            |      Version:  0.21-fixes
 Severity:  medium            |   Resolution:            
  Mlocked:  0                 |  
------------------------------+---------------------------------------------

Comment(by paulh):

 >libs/libmythtv/dbcheck.cpp: adds a new column to the videosource table
 which holds the full path to the XMLTV config file. For some reason,
 mythtv segfaults when upgrading the DB with this patch. Maybe someone can
 spot what's wrong, the BT seems useless to me.



 I think you need to terminate the updates[] array with a NULL like this
 {{{
 const QString updates[] = { "ALTER TABLE videosource ADD COLUMN configpath
 VARCHAR(4096) DEFAULT NULL;", NULL };
 }}}

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


More information about the mythtv-commits mailing list