Fix maridb patch