[mythtv-commits] Ticket #5070: Database schema upgrade error from 1216 to 1217.

MythTV mythtv at cvs.mythtv.org
Thu Dec 4 21:45:21 UTC 2008


#5070: Database schema upgrade error from 1216 to 1217.
--------------------------------+-------------------------------------------
 Reporter:  nlabadie at gmail.com  |        Owner:  janne   
     Type:  defect              |       Status:  assigned
 Priority:  major               |    Milestone:  0.22    
Component:  mythtv              |      Version:  head    
 Severity:  medium              |   Resolution:          
  Mlocked:  0                   |  
--------------------------------+-------------------------------------------

Comment(by janne):

 Replying to [comment:14 Miwer]:
 > I just tried performing the changes in 1215 and 1216 manually for a
 table with
 > international chars...
 >
 > It seems, that converting the columns to binary works OK, but when
 converting the
 > binaries to varchar, it truncates the string when it hits a special
 char, and thus
 > in some cases (especially for oldprogram and people tables) results in a
 duplicate
 > key error.

 Your problem is not a mythtv bug, you have changed the pre-Qt4 database to
 utf8 instead of only supported latin1. You're on your own.

 If it is a valid utf8 schema the only needed change is to increase DB
 schema variable to 1217. No guarantees though.

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


More information about the mythtv-commits mailing list