mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
fix suite/sphinx/suite.pm to not start searchd twice
This commit is contained in:
@@ -71,6 +71,7 @@ sub searchd_start {
|
|||||||
my ($sphinx, $test) = @_; # My::Config::Group, My::Test
|
my ($sphinx, $test) = @_; # My::Config::Group, My::Test
|
||||||
|
|
||||||
return unless $exe_sphinx_indexer and $exe_sphinx_searchd;
|
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.
|
# First we must run the indexer to create the data.
|
||||||
my $sphinx_data_dir= "$::opt_vardir/" . $sphinx->name();
|
my $sphinx_data_dir= "$::opt_vardir/" . $sphinx->name();
|
||||||
|
Reference in New Issue
Block a user