mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Bug #12916194 MTR SHOULD CUT OFF ANALYSIS OF SERVER LOG IF THERE IS TOO MUCH
Added simple cut-off w/warning if > one million lines
This commit is contained in:
@@ -3855,6 +3855,11 @@ sub extract_server_log ($$) {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
push(@lines, $line);
|
push(@lines, $line);
|
||||||
|
if (scalar(@lines) > 1000000) {
|
||||||
|
$Ferr = undef;
|
||||||
|
mtr_warning("Too much log from test, bailing out from extracting");
|
||||||
|
return ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user