Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
96a21ab3
Commit
96a21ab3
authored
Mar 09, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix uninitialized warning in mysql-test-run.pl
make the test to require sphinx 2.0.4 or later
parent
4933d21e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
15 deletions
+4
-15
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+2
-2
mysql-test/suite/sphinx/suite.pm
mysql-test/suite/sphinx/suite.pm
+2
-13
No files found.
mysql-test/mysql-test-run.pl
View file @
96a21ab3
...
...
@@ -418,6 +418,8 @@ sub main {
mtr_report
("
Checking supported features...
");
executable_setup
();
# --debug[-common] implies we run debug server
$opt_debug_server
=
1
if
$opt_debug
||
$opt_debug_common
;
...
...
@@ -436,8 +438,6 @@ sub main {
check_ssl_support
();
check_debug_support
();
executable_setup
();
mtr_report
("
Collecting tests...
");
my
$tests
=
collect_test_cases
(
$opt_reorder
,
$opt_suites
,
\
@opt_cases
,
\
@opt_skip_test_list
);
mark_time_used
('
collect
');
...
...
mysql-test/suite/sphinx/suite.pm
View file @
96a21ab3
...
...
@@ -6,9 +6,6 @@ use mtr_report;
@ISA
=
qw(My::Suite)
;
use
Carp
;
$
Carp::
Verbose
=
1
;
############# initialization ######################
sub
locate_sphinx_binary
{
my
(
$name
)
=
@_
;
...
...
@@ -30,16 +27,8 @@ return "No SphinxSE" unless $ENV{HA_SPHINX_SO} or
{
local
$_
=
`
"
$exe_sphinx_searchd
" --help
`;
mtr_verbose
("
tool:
$exe_sphinx_searchd
\n
$_
");
my
$ver
=
sprintf
"
%04d.%04d.%04d
",
(
/([0-9]+)\.([0-9]+)\.([0-9]+)/
);
if
(
$ver
eq
"
0000.0000.0000
")
{
$ver
=
sprintf
"
%04d.%04d
",
(
/([0-9]+)\.([0-9]+)-(alpha|beta|gamma|RC)/
);
return
"
Sphinx 0.9.9 or later is needed (found
$ver
)
"
unless
$ver
ge
'
0001.0010
';
}
else
{
return
"
Sphinx 0.9.9 or later is needed (found
$ver
)
"
unless
$ver
ge
'
0000.0009.0009
';
}
my
$ver
=
sprintf
"
%04d.%04d.%04d
",
(
/([0-9]+)\.([0-9]+)(?:\.([0-9]+))?/
);
return
"
Sphinx 2.0.4 or later is needed (found
$ver
)
"
unless
$ver
ge
'
0002.0000.0004
';
}
############# action methods ######################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment