Commit 9eae6ef2 authored by yiwenshao's avatar yiwenshao

update test_main/dml_handler_select.cc

parent 06de26b6
...@@ -54,7 +54,10 @@ main() { ...@@ -54,7 +54,10 @@ main() {
assert(shared_ps!=NULL); assert(shared_ps!=NULL);
std::string query1 = "SELECT * FROM student"; std::string query1 = "SELECT * FROM student";
std::vector<std::string> querys{query1}; std::vector<std::string> querys{
query1,
"SELECT SUM(id) FROM student",
};
for(auto item:querys){ for(auto item:querys){
std::cout<<item<<std::endl; std::cout<<item<<std::endl;
testSelectHandler(item); testSelectHandler(item);
......
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