From b9a22c02e5ea69d04672473f472d5b3dbba7da03 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 12 Jan 2022 21:16:00 +0100 Subject: [PATCH] [ticket/16935] Remove not needed truncate on new table PHPBB3-16935 --- phpBB/phpbb/search/backend/fulltext_sphinx.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/phpBB/phpbb/search/backend/fulltext_sphinx.php b/phpBB/phpbb/search/backend/fulltext_sphinx.php index 842aacee96..709690b4f2 100644 --- a/phpBB/phpbb/search/backend/fulltext_sphinx.php +++ b/phpBB/phpbb/search/backend/fulltext_sphinx.php @@ -642,9 +642,6 @@ class fulltext_sphinx implements search_backend_interface ); $this->db_tools->sql_create_table(SPHINX_TABLE, $table_data); - $sql = 'TRUNCATE TABLE ' . SPHINX_TABLE; - $this->db->sql_query($sql); - $data = array( 'counter_id' => '1', 'max_doc_id' => '0',