MariaDB: update APIs

Signed-off-by: swpd <swpdtz@gmail.com>