Commit 1fda375c authored by yiwenshao's avatar yiwenshao

make verify.sh strong

parent c80550bf
......@@ -5,14 +5,15 @@ using std::vector;
vector<string> queries{
"show databases;",
"create database if not exists tdb2;",
"use tdb2;",
"create database if not exists verify;",
"use verify;",
"create table if not exists student(id integer, name varchar(50));",
"insert into student values(1,'shao'),(2,'xiaocai'),(3,'nans'),(4,'hehe'),(5,'oo');",
"select * from student;",
"select id from student;",
"select name from student;",
"select sum(id) from student;"
"select sum(id) from student;",
"drop database if exists verify"
};
int
......
mysql -uroot -pletmein -h127.0.0.1 -e "drop database if exists tpcc1000"
mysql -uroot -pletmein -h127.0.0.1 -e "drop database if exists tdb"
mysql -uroot -pletmein -h127.0.0.1 -e "drop database if exists tdb2"
mysql -uroot -pletmein -h127.0.0.1 -e "drop database if exists tdb3"
rm -rf ./shadow/*
##running this twice will caurse troubles because of the metadata mismatch
./obj/main/change_test
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