Skip to content

Commit

Permalink
Merge pull request #5 from major/master
Browse files Browse the repository at this point in the history
Merge last PR
  • Loading branch information
jmrenouard authored Sep 6, 2024
2 parents 07fd5df + 00ae2c9 commit 82d1155
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*.md
*.md
build/**
Makefile
.perltidy
*.json
*.png
*.png
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Test result are available here:
* ColummStore
* Connect

Unmaintenained staff from MySQL or MariaDB:
Unmaintenained stuff from MySQL or MariaDB:
--

* MyISAM is too old and no longer active
Expand Down
9 changes: 3 additions & 6 deletions mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1590,12 +1590,9 @@ sub log_file_recommendations {
while ( my $logLi = <$fh> ) {
chomp $logLi;
$numLi++;
debugprint "$numLi: $logLi"
if $logLi =~ /warning|error/i and $logLi !~ /Logging to/;
$nbErrLog++
if $logLi =~ /error/i
and $logLi !~ /(Logging to|\[Warning\].*ERROR_FOR_DIVISION_BY_ZERO)/;
$nbWarnLog++ if $logLi =~ /warning/i;
debugprint "$numLi: $logLi" if $logLi =~ /\[(warning|error)\]/i;
$nbErrLog++ if $logLi =~ /\[error\]/i;
$nbWarnLog++ if $logLi =~ /\[warning\]/i;
push @lastShutdowns, $logLi
if $logLi =~ /Shutdown complete/ and $logLi !~ /Innodb/i;
push @lastStarts, $logLi if $logLi =~ /ready for connections/;
Expand Down

0 comments on commit 82d1155

Please sign in to comment.