Callback in mariadb_query isn't triggered when query has error, it cause you can't get error by mariadb_errno function.
mariadb_errno returns correct error id right after mariadb_await_query call
mariadb_errno returns correct error id right after mariadb_await_query call
Comment