mariadb-quoting function

Quote MariaDB strings and identifiers.