File errmsg-mysql51-embedded.diff of Package amarok

--- src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp
+++ src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp
@@ -64,12 +64,12 @@ MySqlEmbeddedStorage::MySqlEmbeddedStorage( const QString &storageLocation )
         // CAUTION: if we ever change the table type we will need to fix a number of MYISAM specific
         // functions, such as FULLTEXT indexing.
         out << "default-storage-engine = MyISAM" << endl;
-        out << "loose-innodb = 0" << endl;
+        out << "language=/usr/share/kde4/apps/amarok" << endl;
         out << "skip-grant-tables = 1" << endl;
         out << "myisam-recover = FORCE" << endl;
         out << "key_buffer_size = 16777216" << endl; // (16Mb)
         out << "character-set-server = utf8" << endl;
-        out << "collation-server = utf8_bin" << endl;
+        out << "collation-server = utf8_unicode_ci" << endl;
         //If the file is world-writable MySQL won't even read it
         df.setPermissions( QFile::ReadOwner | QFile::WriteOwner | QFile::ReadGroup | QFile::ReadOther );
         df.close();
openSUSE Build Service is sponsored by