Bugfix for splitting the metadata log in the new metadata code.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 20 Nov 2007 03:01:52 +0000 (19:01 -0800)
committerMichael Vrable <mvrable@turin.ucsd.edu>
Tue, 20 Nov 2007 03:01:52 +0000 (19:01 -0800)
metadata.cc

index 6661f39..68a5664 100644 (file)
@@ -88,6 +88,7 @@ void MetadataWriter::metadata_flush()
         fprintf(statcache_out, "@@%s\n%s", refstr.c_str(), i->text.c_str());
     }
 
+    chunk_size = 0;
     items.clear();
 }