1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/sphinx-fulltext-search] minor changes in sphinx.conf

PHPBB3-10946
This commit is contained in:
Dhruv
2012-07-12 04:28:55 +05:30
parent 13c451ca2e
commit 118b57f71d
2 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ class phpbb_search_fulltext_sphinx
array('sql_pass', $dbpasswd),
array('sql_db', $dbname),
array('sql_port', $dbport),
array('sql_query_pre', 'SET NAMES utf8'),
array('sql_query_pre', 'SET NAMES \'utf8\''),
array('sql_query_pre', 'REPLACE INTO ' . SPHINX_TABLE . ' SELECT 1, MAX(post_id) FROM ' . POSTS_TABLE . ''),
array('sql_query_range', 'SELECT MIN(post_id), MAX(post_id) FROM ' . POSTS_TABLE . ''),
array('sql_range_step', '5000'),