Hello! Your patch was committed in https://anonscm.debian.org/gitweb/?p=pkg-mysql/mariadb-10.1.git;a=commit;h=c840b371166afd05b96a94e2056bf8c65a5a8589
In addition to the official git.debian.org mariadb-10.1 repository there is also a Github mirror if you are able to produce a patch and want to open a pull request: https://github.com/ottok/mariadb-10.1 As it makes the package uninstallable, I am considering reverting the change unless somebody quickly finds out a way how to implement this properly. I tried prepending the command with "USE mysql;" and other tricks, but I didn't figure out how to get it succeeding.