diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-11-10 16:30:23 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-11-10 16:30:23 +0000 |
commit | cf74ddc2fcb1e7286441edb432d8906bb722a3d4 (patch) | |
tree | 1612a0bb71862de37350322fb91bb7b7ee9f9877 /source/passdb/pdb_mysql.c | |
parent | b6359c585a563f9694d8afacd43329dece6af500 (diff) | |
download | samba-cf74ddc2fcb1e7286441edb432d8906bb722a3d4.tar.gz samba-cf74ddc2fcb1e7286441edb432d8906bb722a3d4.tar.xz samba-cf74ddc2fcb1e7286441edb432d8906bb722a3d4.zip |
Print the number of returned rows, not the number of fields
Diffstat (limited to 'source/passdb/pdb_mysql.c')
-rw-r--r-- | source/passdb/pdb_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/passdb/pdb_mysql.c b/source/passdb/pdb_mysql.c index 0df630d1ee1..66429cb4d83 100644 --- a/source/passdb/pdb_mysql.c +++ b/source/passdb/pdb_mysql.c @@ -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; } |