[mythtv-commits] mythtv commit: r16755 - in branches/mythtv-qt4/libs by janne

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Mar 23 14:58:32 UTC 2008


      Author: janne
        Date: 2008-03-23 14:58:31 +0000 (Sun, 23 Mar 2008)
New Revision: 16755
   Changeset: http://cvs.mythtv.org/trac/changeset/16755

Modified:

   branches/mythtv-qt4/libs/libmyth/mythdbcon.cpp
   branches/mythtv-qt4/libs/libmyth/mythdbcon.h
   branches/mythtv-qt4/libs/libmythtv/dbcheck.cpp

Log:

Mayor DB update. Converts utf8 in latin1 to proper utf8 encoded columns

Breaks non ascii strings in all plugins and mythweb until they are updated.

We are using the utf8_general_ci collation except for following columns:
keyword.phrase,
oldprogram.oldtitle,
people.name,
powerpriority.priorityname,
recgrouppassword.recgroup,
storagegroup.dirname,
videobookmarks.filename

Those columns use the utf8_bin collation. They have user/guide specific data and are either primary 
keys or in a unique index. I had conflicts in the oldprogram and people tables.

Matching on those columns is now case sensitive. If case insensitive matching is needed the collation 
can be overridden by "COLLATE utf_general_ci" after the variable. If it affects more than a couple of 
places or user generated queries we can create and use views with case insensitve collations.   





More information about the mythtv-commits mailing list