提交 987cb5e4 编写于 作者: L leipeng.tk

kvpipe: bugfix

上级 619635ba
......@@ -1739,7 +1739,7 @@ repair_test: db/repair_test.o db/db_test_util.o $(LIBOBJECTS) $(TESTHARNESS)
ldb_cmd_test: ${xdir}/tools/ldb_cmd_test.o $(LIBOBJECTS) $(TESTHARNESS) ${LIBNAME}.so
$(AM_LINK)
ldb: ${xdir}/tools/ldb.o $(LIBOBJECTS)
ldb: ${xdir}/tools/ldb.o $(SHARED1)
$(AM_LINK)
kvpipe: ${xdir}/tools/kvpipe.o ${SHARED1}
......
......@@ -169,7 +169,8 @@ GetoptDone:
auto t = new KVTask(line.p, line.n);
pipeline.enqueue(t);
}
pipeline.stop();
pipeline.wait();
delete db;
return 0;
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册