Early version of innodb conversion process.

See mailing list [http://permalink.gmane.org/gmane.comp.bug-tracking.mantis.devel/5521] for request about helping review performance
If we exit due to this if statement, we dont do the reverting o the log queries at the end of the function.