MariaDB: alter on close callback prototype

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add ssl_set function

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add on result fetched callback

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