Patches ported to 5.1.57 ATTENTION, ATTENTION, ATTENTION !!! Some parts of innodb_split_buf_pool_mutex.patch was removed (for apply another patches) You should revert changes in this commit from patch and do their right
!!! innodb_lru_dump_restore.patch has some changes, what should be reviewed
!!! mysql-test.diff - I removed part for "mysql-test/include/mtr_warnings.sql", should be restored and fixed
All other looks fine.
UNFORTUNATELY, MYSQL DOESN'T BUILD (Compilation error in InnoDB).