Refactoring - Cleanup mysql_alter_table function
mysql_alter_table() currently does a crap-ton (technical term :) ) of stuff, including:
* altering the table definition
* altering the field definitions
* altering/creating indexes on a table
* renaming a table
* dropping indexes
* more...
Need to split the function (which is currently 1000+ lines long) into smaller, more manageable chunks.
Blueprint information
Whiteboard
Done:
* Split Alter_info out into own files
* Take all alter table code out of sql_table.cc and into drizzled/
* Clean up style and naming conventions of Alter_drop, Alter_info, and Alter_column
TODO:
* Move List<> to vector<> for AlterInfo member variables
* Split mysql_prepare_
Deferring until the proto in parser work is done..
Work Items
Dependency tree
* Blueprints in grey have been implemented.