Use fixed mapi_rows_affected to get the number of affected rows. Also, don't use the result of mapi_get_field_count as the number of rows returned by a query (it's the number of columns).
Use fixed mapi_rows_affected to get the number of affected rows.
Also, don't use the result of mapi_get_field_count as the number of
rows returned by a query (it's the number of columns).

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb