mds/net-mail/zarafa/files/6.40.8.27223/zarafa-6.40.6-force_latin1.patch
geos_one 9ef5ed2da0 net-mail/zarafa: Bump
(Portage version: 2.2.0_alpha34-r1/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2909 6952d904-891a-0410-993b-d76249ca496b
2011-05-26 16:51:05 +00:00

15 lines
618 B
Diff

diff -uNr zarafa-6.40.6.orig//provider/libserver/ECDatabaseMySQL.cpp zarafa-6.40.6/provider/libserver/ECDatabaseMySQL.cpp
--- zarafa-6.40.6.orig//provider/libserver/ECDatabaseMySQL.cpp 2011-03-20 23:50:06.000000000 +0100
+++ zarafa-6.40.6/provider/libserver/ECDatabaseMySQL.cpp 2011-03-21 00:00:45.000000000 +0100
@@ -343,6 +343,10 @@
// this option was introduced in mysql 5.0, so let's not even try on 4.1 servers
strQuery = "SET SESSION sql_mode = 'STRICT_ALL_TABLES'";
Query(strQuery); // ignore error
+
+ // Latin1 is default charset
+ strQuery = "SET NAMES 'latin1'";
+ Query(strQuery);
}
exit: