Commit b3df5e91 authored by casualet's avatar casualet

able to specify num of warehouse

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