From: Valery S. <de...@cp...> - 2006-12-21 14:08:13
|
Hello. I have several patches for Mantis BT 1.0.6. The first patch (mantis-dbfirstquery-patch.diff) addresses the problem of database setup before the first mantis query. This patch adds configuration variable $g_first_db_query. If this variable is set - the appropriate SQL query will be executed just after connecting to database. This is useful for example for MySQL >= 4.1 when using other-than-default charset. For example, Russians need to execute query 'SET NAMES cp1251' before they can use any cyrillic text in the queries. -- Regards, Valery Studennikov http://velosamara.ru |