-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include calculation of Aria index size based of *.MAI files. Use find -0 | xargs -0 to allow for space containing names. Quote datadir in find in case it had spaces. Use xargs -r (GNU extension) (supported Linux, FreeBSD, OpenBSD, NetBSD, not Solaris, not OSX) to not run if there's no files that match. This prevents it running the total of the current directory if there are no M[YA]I files. A total size of 0 for Aria or MyISAM indexes isn't a problem because: * MySQL-5.[567] used MyISAM system tables which have indexes, so 0 wasn't possible (except for remote user without mysql.* access). * 0 size of index is equally likely to be 0 tables of this type (e.g. MySQL-8.0, or MariaDB-10.4+ (Aria default, not MyISAM)). Setting total_aria_indexes=1 when it was previously 0 is misleading. Aria was never called AriaDB despite the apparent convention in other storage engines so use just Aria, or Aria Storage Engine in messages. Differentiate between Aria not available and disabled in report.
- Loading branch information
1 parent
9a9ff55
commit 99e5c83
Showing
1 changed file
with
26 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters