Provided by: libmariadb-dev_10.11.8-0ubuntu0.24.04.1_amd64 bug

Return value

       Returns the number of affected rows or -1 on error.

   See alsomysql_num_rows(3)