InnoDB maintains a transaction log that is used for recovery during server startup. The recovery is attempted regardless of whether there was a crash or not. In the case of a crash, the log has pending transactions to redo.
Recovery from a crash failure in InnoDB.
Share this highlighthttp://www.safaribooksonline.com/a/understanding-mysql-internals/19703421/