Commit eaf84dc4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b39dd525
......@@ -154,12 +154,15 @@ EOF
}
xmysql() {
mysql --defaults-file=$mycnf $@
set -x
mysql --defaults-file=$mycnf "$@"
set +x
}
neopysql() {
MDB
xmysql "CREATE DATABASE IF NOT EXISTS neo"
sleep 1 # XXX fragile
xmysql -e "CREATE DATABASE IF NOT EXISTS neo"
Mpy --autostart=1
Spy --adapter=MySQL --engine=InnoDB --database=root@neo$mysock
......@@ -171,7 +174,8 @@ gensql() {
neopysql
demo-zbigarray --worksize=$work gen neo://$cluster@$Mbind
xneoctl set cluster stopping
xmysql "SHUTDOWN"
sleep 1 # XXX fragile
xmysql -e "SHUTDOWN"
wait # XXX fragile
sync
}
......@@ -201,6 +205,8 @@ gensqlite() {
#gensqlite
gensql
exit
#neopylite
#time demo-zbigarray read neo://$cluster@$Mbind
......
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