Skip to content

Commit

Permalink
Merge branch 'timestamp-binlog' of github.com:Qihoo360/pika into time…
Browse files Browse the repository at this point in the history
…stamp-binlog
  • Loading branch information
KernelMaker committed Jul 4, 2016
2 parents 8328719 + 9e07b9c commit 5255704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/binlog_tools/binlog_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static void Usage()
"\t-i -- path of input binlog files , default: ./old_log/\n"
"\t-o -- path to store output binlog files , default: ./new_log/ \n"
"\t-f -- files to convert , seperated by , default: 0\n"
" example: ./binlog_writer -c old2new -i old_binlog_path -o new_binlog_path -f 0,1,2,3 \n"
" example: ./binlog_parser -c old2new -i old_binlog_path -o new_binlog_path -f 0,1,2,3 \n"
);
}

Expand Down Expand Up @@ -191,6 +191,7 @@ int main(int argc, char *argv[]) {
Binlog* new_logger = new Binlog(output_path, INPUT_FILESIZE);
std::cout << "test result:new binlog can be loaded " << std::endl;
delete binlog_consumer;
delete binlog_producer;
delete old_logger;
delete new_logger;
return 0;
Expand Down

0 comments on commit 5255704

Please sign in to comment.