git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc89832
)
Print the number of returned rows, not the number of fields
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 10 Nov 2002 16:29:50 +0000
(16:29 +0000)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 10 Nov 2002 16:29:50 +0000
(16:29 +0000)
(This used to be commit
f4110a0f80a4f62d548b6d6cae81692476ef85ba
)
source3/passdb/pdb_mysql.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_mysql.c
b/source3/passdb/pdb_mysql.c
index 0df630d1ee1c1d585278051071b2fba6ebd6d67c..66429cb4d833e0cd3dcd456cc73c55a4c78127db 100644
(file)
--- 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_
field
s(data->pwent)));
+ ("mysqlsam_setsampwent succeeded(%
lu
results)!\n",
+ mysql_num_
row
s(data->pwent)));
return NT_STATUS_OK;
}