git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c3aca
)
vacuum: initialize the delete_count in the vacuum data
author
Michael Adam
<obnox@samba.org>
Tue, 13 Dec 2011 14:58:52 +0000
(15:58 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 12 Jan 2012 07:50:34 +0000
(08:50 +0100)
(cherry picked from commit
970b8fc60857ad2f18f45312d355c571fb2f0246
)
server/ctdb_vacuum.c
patch
|
blob
|
history
diff --git
a/server/ctdb_vacuum.c
b/server/ctdb_vacuum.c
index 74f54362da68458188eaed1124b53cdcca8fb361..471b0076754d21f9cd50f74a7f14affcd7301706 100644
(file)
--- a/
server/ctdb_vacuum.c
+++ b/
server/ctdb_vacuum.c
@@
-496,6
+496,7
@@
static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db,
vdata->full_skipped = 0;
vdata->full_error = 0;
vdata->full_total = 0;
+ vdata->delete_count = 0;
/* the list needs to be of length num_nodes */
vdata->list = talloc_array(vdata, struct ctdb_marshall_buffer *, ctdb->num_nodes);