Commit b3df5e91 authored by casualet's avatar casualet

able to specify num of warehouse

parent 77be31b1
...@@ -16,3 +16,4 @@ tags ...@@ -16,3 +16,4 @@ tags
readFile readFile
writeFile writeFile
*CMakeFiles* *CMakeFiles*
*all*
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
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 tpcc1000"
mysql -uroot -pletmein -h127.0.0.1 -e "create database tpcc1000" mysql -uroot -pletmein -h127.0.0.1 -e "create database tpcc1000"
mysql -uroot -pletmein -h127.0.0.1 tpcc1000 < create_table.sql mysql -uroot -pletmein -h127.0.0.1 tpcc1000 < create_table.sql
./tpcc_load -h127.0.0.1 -uroot -pletmein -d tpcc1000 -w 2 ./tpcc_load -h127.0.0.1 -uroot -pletmein -d tpcc1000 -w $1
mysqldump --skip-extended-insert -uroot -pletmein -h127.0.0.1 tpcc1000 > all.sql mysqldump --skip-extended-insert -uroot -pletmein -h127.0.0.1 tpcc1000 > all$1.sql
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 tpcc1000"
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