Commit c6d3bf14 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

comment and extra semicolon removal


git-svn-id: file:///svn/toku/tokudb@48320 c7de825b-a66e-492c-adef-691d508d4ae1
parent 20af7d7d
...@@ -2490,7 +2490,7 @@ static int loader_do_i (FTLOADER bl, ...@@ -2490,7 +2490,7 @@ static int loader_do_i (FTLOADER bl,
int progress_allocation // how much progress do I need to add into bl->progress by the end.. int progress_allocation // how much progress do I need to add into bl->progress by the end..
) )
/* Effect: Handle the file creating for one particular DB in the bulk loader. */ /* Effect: Handle the file creating for one particular DB in the bulk loader. */
/* Requires: The data is fully extracted, so we can do merges out of files and write the brt file. */ /* Requires: The data is fully extracted, so we can do merges out of files and write the ft file. */
{ {
//printf("doing i use %d progress=%d fin at %d\n", progress_allocation, bl->progress, bl->progress+progress_allocation); //printf("doing i use %d progress=%d fin at %d\n", progress_allocation, bl->progress, bl->progress+progress_allocation);
struct merge_fileset *fs = &(bl->fs[which_db]); struct merge_fileset *fs = &(bl->fs[which_db]);
......
...@@ -411,7 +411,7 @@ int toku_fsync_directory(const char *fname) { ...@@ -411,7 +411,7 @@ int toku_fsync_directory(const char *fname) {
len = sp - fname + 1; len = sp - fname + 1;
MALLOC_N(len+1, dirname); MALLOC_N(len+1, dirname);
if (dirname == NULL) { if (dirname == NULL) {
result = get_error_errno();; result = get_error_errno();
} else { } else {
strncpy(dirname, fname, len); strncpy(dirname, fname, len);
dirname[len] = 0; dirname[len] = 0;
...@@ -419,7 +419,7 @@ int toku_fsync_directory(const char *fname) { ...@@ -419,7 +419,7 @@ int toku_fsync_directory(const char *fname) {
} else { } else {
dirname = toku_strdup("."); dirname = toku_strdup(".");
if (dirname == NULL) { if (dirname == NULL) {
result = get_error_errno();; result = get_error_errno();
} }
} }
......
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