MariaDB: add result fields to on_result callback

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