diff --git a/.gitignore b/.gitignore index 551ca09..32242a3 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ test_db/** result* result_* sql/*.sql -sql/*.csv \ No newline at end of file +sql/*.csv +cve.csv \ No newline at end of file diff --git a/FEATURES.md b/FEATURES.md index aa11f00..e8f259e 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -2,11 +2,7 @@ Features list for option: --feature (dev only) --- -* calculations -* compare_tuner_version -* cpu_cores * cve_recommendations -* grep_file_contents * log_file_recommendations * make_recommendations * mariadb_aria @@ -17,7 +13,6 @@ Features list for option: --feature (dev only) * mariadb_threadpool * mariadb_tokudb * mariadb_xtradb -* merge_hash * mysql_databases * mysql_indexes * mysql_innodb @@ -29,14 +24,8 @@ Features list for option: --feature (dev only) * mysql_table_structures * mysql_tables * mysql_triggers -* mysql_version_eq -* mysql_version_ge -* mysql_version_le * mysql_views -* os_setup -* pretty_uptime * security_recommendations * system_recommendations -* update_tuner_version * validate_mysql_version * validate_tuner_version diff --git a/Makefile b/Makefile index 365da2b..5b0bd45 100644 --- a/Makefile +++ b/Makefile @@ -26,35 +26,41 @@ installdep_debian: tidy: dos2unix ./mysqltuner.pl perltidy -b ./mysqltuner.pl -# git add ./mysqltuner.pl -# git commit -m "Indenting mysqltuner at $(shell date --iso=seconds)" + git add ./mysqltuner.pl + git commit -m "Indenting mysqltuner at $(shell date --iso=seconds)" generate_usage: pod2markdown mysqltuner.pl >USAGE.md -# git add ./USAGE.md -# git commit -m "Generate USAGE.md at $(shell date --iso=seconds)" + git add ./USAGE.md + git commit -m "Generate USAGE.md at $(shell date --iso=seconds)" generate_cve: perl ./build/updateCVElist.pl -# git add ./vulnerabilities.csv -# git commit -m "Generate CVE list at $(shell date --iso=seconds)" + git add ./vulnerabilities.csv + git commit -m "Generate CVE list at $(shell date --iso=seconds)" generate_features: perl ./build/genFeatures.sh -# git add ./FEATURES.md -# git commit -m "Generate FEATURES.md at $(shell date --iso=seconds)" + git add ./FEATURES.md + git commit -m "Generate FEATURES.md at $(shell date --iso=seconds)" increment_sub_version: @echo "Incrementing sub version from $(VERSION) to $(UPDATE_SUB_VERSION)" sed -i "s/$(VERSION)/$(UPDATE_SUB_VERSION)/" mysqltuner.pl *.md + git add ./*.md ./mysqltuner.pl + git commit -m "Generate $(UPDATE_SUB_VERSION) sub version at $(shell date --iso=seconds)" increment_minor_version: @echo "Incrementing minor version from $(VERSION) to $(UPDATE_MINOR_VERSION)" sed -i "s/$(VERSION)/$(UPDATE_MINOR_VERSION)/" mysqltuner.pl *.md + git add ./*.md ./mysqltuner.pl + git commit -m "Generate $(UPDATE_SUB_VERSION) minor version at $(shell date --iso=seconds)" increment_major_version: @echo "Incrementing major version from $(VERSION) to $(UPDATE_MAJOR_VERSION)" sed -i "s/$(VERSION)/$(UPDATE_MAJOR_VERSION)/" mysqltuner.pl *.md + git add ./*.md ./mysqltuner.pl + git commit -m "Generate $(UPDATE_SUB_VERSION) major version at $(shell date --iso=seconds)" push: git push \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 437e7f7..34c190d 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1,6 +1,6 @@ # NAME - MySQLTuner 2.2.7 - MySQL High Performance Tuning Script + MySQLTuner 2.2.9 - MySQL High Performance Tuning Script # IMPORTANT USAGE GUIDELINES diff --git a/mysqltuner.pl b/mysqltuner.pl index d2518d6..25bfa83 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# mysqltuner.pl - Version 2.2.8 +# mysqltuner.pl - Version 2.2.9 # High Performance MySQL Tuning Script # Copyright (C) 2015-2023 Jean-Marie Renouard - jmrenouard@gmail.com # Copyright (C) 2006-2023 Major Hayden - major@mhtx.net @@ -57,7 +57,7 @@ use Cwd 'abs_path'; #use Env; # Set up a few variables for use in the script -my $tunerversion = "2.2.8"; +my $tunerversion = "2.2.9"; my ( @adjvars, @generalrec ); # Set defaults @@ -7357,7 +7357,7 @@ __END__ =head1 NAME - MySQLTuner 2.2.8 - MySQL High Performance Tuning Script + MySQLTuner 2.2.9 - MySQL High Performance Tuning Script =head1 IMPORTANT USAGE GUIDELINES