1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

Print the number of returned rows, not the number of fields

(This used to be commit cf74ddc2fcb1e7286441edb432d8906bb722a3d4)
This commit is contained in:
Jelmer Vernooij 2002-11-10 16:30:23 +00:00
parent 289fe8557c
commit af6902f5bf

View File

@ -370,8 +370,8 @@ static NTSTATUS mysqlsam_setsampwent(struct pdb_methods *methods, BOOL update)
}
DEBUG(5,
("mysqlsam_setsampwent succeeded(%d results)!\n",
mysql_num_fields(data->pwent)));
("mysqlsam_setsampwent succeeded(%lu results)!\n",
mysql_num_rows(data->pwent)));
return NT_STATUS_OK;
}