Commit eaf84dc4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

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