Fix mysql partition patch