Provided by: libmariadb-dev_10.11.2-1_amd64 bug

Return value

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

   See alsomysql_num_rows(3)