Commit 49d287e7 authored by yiwenshao's avatar yiwenshao

change final_load(why), and test_load_schema

parent 42ef508b
......@@ -400,7 +400,7 @@ main(int argc, char* argv[]){
std::to_string(t_init.lap()/1000000u)<<
"##"<<std::to_string(time(NULL))<<"\n";
for(auto item:gcountMap){
for(auto item:gcountMap) {
glog<<"onionComputed: "<<
TypeText<onion>::toText(item.first)<<"::"<<
std::to_string(item.second)<<"\n";
......
......@@ -79,7 +79,10 @@ static void processTableMeta(const TableMeta &table){
static void processDatabaseMeta(const DatabaseMeta & db) {
std::cout<<GREEN_BEGIN<<"PRINT DatabaseMeta"<<COLOR_END<<std::endl;
for(const auto & table: db.getChildren()){
cout<<"tablemetaid: "<<table.second->getDatabaseID()<<" ### dbmeta name: "<<table.first.getValue()<<std::endl;
//cout<<"tablemetaid: "<<table.second->getDatabaseID()
//cout<<" ### tablemeta name: "<<table.first.getValue()<<
//"annotablename: "<<table.second->getAnonTableName()<<std::endl;
cout<<"tablemap: "<<table.second->getAnonTableName()<<" "<<table.first.getValue()<<std::endl;
processTableMeta(*(table.second));
}
}
......
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