Mysql table partitions

Extracts, generates, and diffs table partitions in mysql.