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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b5b92ebb
Commit
b5b92ebb
authored
May 02, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge from 5.5-mtr
parents
51721df0
4f3c366e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+27
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
b5b92ebb
...
@@ -2220,7 +2220,12 @@ sub environment_setup {
...
@@ -2220,7 +2220,12 @@ sub environment_setup {
$ENV
{'
DEFAULT_MASTER_PORT
'}
=
$mysqld_variables
{'
port
'};
$ENV
{'
DEFAULT_MASTER_PORT
'}
=
$mysqld_variables
{'
port
'};
$ENV
{'
MYSQL_TMP_DIR
'}
=
$opt_tmpdir
;
$ENV
{'
MYSQL_TMP_DIR
'}
=
$opt_tmpdir
;
$ENV
{'
MYSQLTEST_VARDIR
'}
=
$opt_vardir
;
$ENV
{'
MYSQLTEST_VARDIR
'}
=
$opt_vardir
;
# Used for guessing default plugin dir, we can't really know for sure
$ENV
{'
MYSQL_LIBDIR
'}
=
"
$basedir
/lib
";
$ENV
{'
MYSQL_LIBDIR
'}
=
"
$basedir
/lib
";
# Override if this does not exist, but lib64 does (best effort)
if
(
!
-
d
"
$basedir
/lib
"
&&
-
d
"
$basedir
/lib64
")
{
$ENV
{'
MYSQL_LIBDIR
'}
=
"
$basedir
/lib64
";
}
$ENV
{'
MYSQL_BINDIR
'}
=
"
$bindir
";
$ENV
{'
MYSQL_BINDIR
'}
=
"
$bindir
";
$ENV
{'
MYSQL_SHAREDIR
'}
=
$path_language
;
$ENV
{'
MYSQL_SHAREDIR
'}
=
$path_language
;
$ENV
{'
MYSQL_CHARSETSDIR
'}
=
$path_charsetsdir
;
$ENV
{'
MYSQL_CHARSETSDIR
'}
=
$path_charsetsdir
;
...
@@ -4116,6 +4121,9 @@ sub extract_warning_lines ($$) {
...
@@ -4116,6 +4121,9 @@ sub extract_warning_lines ($$) {
);
);
my
$skip_valgrind
=
0
;
my
$skip_valgrind
=
0
;
my
$last_pat
=
"";
my
$num_rep
=
0
;
foreach
my
$line
(
@lines
)
foreach
my
$line
(
@lines
)
{
{
if
(
$opt_valgrind_mysqld
)
{
if
(
$opt_valgrind_mysqld
)
{
...
@@ -4130,11 +4138,29 @@ sub extract_warning_lines ($$) {
...
@@ -4130,11 +4138,29 @@ sub extract_warning_lines ($$) {
{
{
if
(
$line
=~
/$pat/
)
if
(
$line
=~
/$pat/
)
{
{
# Remove initial timestamp and look for consecutive identical lines
my
$line_pat
=
$line
;
$line_pat
=~
s/^[0-9: ]*//
;
if
(
$line_pat
eq
$last_pat
)
{
$num_rep
++
;
}
else
{
# Previous line had been repeated, report that first
if
(
$num_rep
)
{
print
$Fwarn
"
.... repeated
$num_rep
times:
$last_pat
";
$num_rep
=
0
;
}
$last_pat
=
$line_pat
;
print
$Fwarn
$line
;
print
$Fwarn
$line
;
}
last
;
last
;
}
}
}
}
}
}
# Catch the case of last warning being repeated
if
(
$num_rep
)
{
print
$Fwarn
"
.... repeated
$num_rep
times:
$last_pat
";
}
$Fwarn
=
undef
;
# Close file
$Fwarn
=
undef
;
# Close file
}
}
...
...
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