Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
Practical-Cryptdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhaozhen
Practical-Cryptdb
Commits
f2cb8a15
Commit
f2cb8a15
authored
Jan 16, 2018
by
yiwenshao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
9f99daac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
random_insert.sh
packages/operation/random_insert.sh
+2
-2
No files found.
packages/operation/random_insert.sh
View file @
f2cb8a15
...
@@ -2,7 +2,7 @@ function generate_insert_int(){
...
@@ -2,7 +2,7 @@ function generate_insert_int(){
head
=
$1
head
=
$1
pipe
=
$2
pipe
=
$2
count
=
$3
count
=
$3
for
((
i
=
1
;
i<
$count
;
i++
))
do
for
((
i
=
1
;
i<
=
$count
;
i++
))
do
res
=
$head
res
=
$head
for
((
j
=
1
;
j<
$pipe
;
j++
))
do
for
((
j
=
1
;
j<
$pipe
;
j++
))
do
res
=
"
${
res
}
(
$RANDOM
),"
res
=
"
${
res
}
(
$RANDOM
),"
...
@@ -14,4 +14,4 @@ function generate_insert_int(){
...
@@ -14,4 +14,4 @@ function generate_insert_int(){
}
}
h
=
"INSERT INTO int_table VALUES "
h
=
"INSERT INTO int_table VALUES "
generate_insert_int
"
$h
"
10
1
0
generate_insert_int
"
$h
"
10
0 1000
0
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