Diederik has submitted this change and it was merged. Change subject: added utf8, pthread_joins, more comments ......................................................................
added utf8, pthread_joins, more comments 1) added some comments explaining what decode_title does 2) revised msgformat and the number of fields expected in collector 3) modified initEmptyDB to take a parameter with an id so each db( db and aggr) has a different file associated 4) removed serial because it was unneded(it was not used inside the code of collector) 5) added pthread_join to the two threads which are started in produceDumps , in order to wait for those threads to terminate 6) added include guards to the header files 7) added iconv UTF8 support 8) added detailed comments for decode_title 9) solved bug with error message "unable to flush page" (it was caused by deleting the db file before db->close occured) 10) added check if directory dumps/ exists 11) Berkeley DBs now have a timestamp in their name 12) put back DEBUG in Makefile.am 13) generating hardcoded serial in filter.c , adapted back collector to read serial (only used for debugging) 14) removed trailing whitespace Change-Id: I8311438a5463a85a823871593dc689a0624bc856 --- M AUTHORS M Makefile.am M configure M exclude D export.h M src/collector.c M src/collector.h M src/export.c M src/export.h M src/filter.c M src/filter.h 11 files changed, 440 insertions(+), 83 deletions(-) Approvals: Diederik: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/25169 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8311438a5463a85a823871593dc689a0624bc856 Gerrit-PatchSet: 3 Gerrit-Project: analytics/webstatscollector Gerrit-Branch: master Gerrit-Owner: Stefan.petrea <ste...@garage-coding.com> Gerrit-Reviewer: Diederik <dvanli...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits