From d4681145dcf03a823015173d7f58e32e913856d9 Mon Sep 17 00:00:00 2001 From: KYPREO <58344533+KYPREO@users.noreply.github.com> Date: Tue, 17 Dec 2019 21:01:06 +1100 Subject: [ticket/16258] Fix sample Sphinx configuration file PHPBB3-16258 --- phpBB/docs/sphinx.sample.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/docs/sphinx.sample.conf b/phpBB/docs/sphinx.sample.conf index 85cba190d7..bf7c4a43a8 100644 --- a/phpBB/docs/sphinx.sample.conf +++ b/phpBB/docs/sphinx.sample.conf @@ -41,7 +41,7 @@ source source_phpbb_{SPHINX_ID}_main } source source_phpbb_{SPHINX_ID}_delta : source_phpbb_{SPHINX_ID}_main { - sql_query_pre = + sql_query_pre = SET NAMES 'utf8' sql_query_range = sql_range_step = sql_query = SELECT \ @@ -61,7 +61,7 @@ source source_phpbb_{SPHINX_ID}_delta : source_phpbb_{SPHINX_ID}_main WHERE \ p.topic_id = t.topic_id \ AND p.post_id >= ( SELECT max_doc_id FROM phpbb_sphinx WHERE counter_id=1 ) - sql_query_pre = + sql_query_post_index = } index index_phpbb_{SPHINX_ID}_main { -- cgit v1.2.1