@aloginov, would you be willing to file a ticket for this a create a pull request?
It looks like mariadb is missing from DatabaseUtil.loadDatabaseDriver(…) as well.
Would it be overkill to adopt the strategy pattern for database-specific features – i.e., create an interface enumerating the database-specific tasks needed from OpenMRS and then implement that interface for each supported database (to avoid a growing stack of if…else that is repeated in multiple places)?
Anyway, let’s not let perfect be the enemy of the good. If you could create a TRUNK ticket for your change and throw in a pull request, we’d appreciate it (as would the next person using mariadb)!