Commit 8e18af9f authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1125 refs[t:1125] windows warning-removal port of brtdump supporting XIDS

git-svn-id: file:///svn/toku/tokudb@13990 c7de825b-a66e-492c-adef-691d508d4ae1
parent 20a1b62d
......@@ -212,7 +212,8 @@ void wbuf_xids(struct wbuf *wb, XIDS xids) {
void
xids_fprintf(FILE* fp, XIDS xids) {
u_int8_t index;
//fprintf(fp, "[|%u| ", xids_get_num_xids(xids));
unsigned num_xids = xids_get_num_xids(xids);
fprintf(fp, "[|%u| ", num_xids);
for (index = 0; index < xids_get_num_xids(xids); index++) {
if (index) fprintf(fp, ",");
fprintf(fp, "%"PRIx64, xids_get_xid(xids, index));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment