Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefane Fermigier
neo
Commits
eaf84dc4
Commit
eaf84dc4
authored
Sep 04, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b39dd525
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
go/neo/t/t.sh
go/neo/t/t.sh
+9
-3
No files found.
go/neo/t/t.sh
View file @
eaf84dc4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment