feae4e6677
(Portage version: 2.2.0_alpha28-r1/svn/Linux x86_64, RepoMan options: --force) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2868 6952d904-891a-0410-993b-d76249ca496b
15 lines
618 B
Diff
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:
|