From 5a21dc7df1024c13c212f687c5ebc40d9cb74c5b Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 14 Feb 2014 14:08:16 +0100 Subject: [PATCH] fix suite/sphinx/suite.pm to not start searchd twice --- mysql-test/suite/sphinx/suite.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-test/suite/sphinx/suite.pm b/mysql-test/suite/sphinx/suite.pm index e708b12faea..6a9d5f9ebc0 100644 --- a/mysql-test/suite/sphinx/suite.pm +++ b/mysql-test/suite/sphinx/suite.pm @@ -71,6 +71,7 @@ sub searchd_start { my ($sphinx, $test) = @_; # My::Config::Group, My::Test return unless $exe_sphinx_indexer and $exe_sphinx_searchd; + return if $sphinx->{proc}; # Already started # First we must run the indexer to create the data. my $sphinx_data_dir= "$::opt_vardir/" . $sphinx->name();