fix mariadb patch