integer-net/solr-magento1

UTF8 chars broken after reconnecting to MySQL

Closed this issue · 2 comments

This issue comes from IntegerNet_Solr_Model_Resource_Db::disconnectMysql which closes SQL connections during indexing.

When new queries are made after that, the connection is re-initialized but this time it will not run
<initStatements> from app/etc/local.xml which often has to be "SET NAMES utf8".

Commenting the code for connection closing in disconnectMysql() resolves the issue.

Related commit: db3e2b4

@schmengler This should be resolved, right?