diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-11-10 16:29:50 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-11-10 16:29:50 +0000 |
commit | 9d7cd6643150704fab06982603b87df22bb3528e (patch) | |
tree | ab20d8fe4c921790ec68a8facb9bc7ada20427cb | |
parent | fc89832192e4bf35b474f12bff6445607a082cd5 (diff) | |
download | samba-9d7cd6643150704fab06982603b87df22bb3528e.tar.gz samba-9d7cd6643150704fab06982603b87df22bb3528e.tar.bz2 samba-9d7cd6643150704fab06982603b87df22bb3528e.zip |
Print the number of returned rows, not the number of fields
(This used to be commit f4110a0f80a4f62d548b6d6cae81692476ef85ba)
-rw-r--r-- | source3/passdb/pdb_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_mysql.c b/source3/passdb/pdb_mysql.c index 0df630d1ee..66429cb4d8 100644 --- a/source3/passdb/pdb_mysql.c +++ b/source3/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; } |