There are couple of ideas which may make this script more useful, this may result in script renaming as well: 1) add support for -A option to be able to pass over all tablespaces 2) add support for various table options one may wish to set in large chunks: charset, checksum, pack_keys, delay_key_writes, max_rows etc 3) add raw support for alter table with specified options to support more exotic needs. It would be also good idea to rewrite this script in C using mysqlcheck codebase which will make such useful scrip to work under Windows as well.
