Commit e103d88e authored by yiwenshao's avatar yiwenshao

in cdb_test, when we meet exception, we should exit

parent c54c5ab4
......@@ -200,6 +200,7 @@ bool myRewrite(std::string curQuery,unsigned long long _thread_id,std::string cl
c_wrapper->setQueryRewrite(std::move(qr));
}catch(...){
std::cout<<"rewrite exception!!!"<<std::endl;
exit(0);
return false;
}
return true;
......@@ -333,6 +334,7 @@ void myNext(std::string client,bool isFirst,ResType inRes) {
}
}catch(...){
std::cout<<"next error"<<std::endl;
exit(0);
}
}
......
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