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
e9dd8169
Commit
e9dd8169
authored
Jan 16, 2018
by
yiwenshao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
able to init micro bechmark
parent
71f45eca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
micro_init.cc
debug/micro_init.cc
+28
-0
No files found.
debug/micro_init.cc
0 → 100644
View file @
e9dd8169
#include "main/big_proxy.hh"
#include <vector>
using
std
::
string
;
int
main
(
int
argc
,
char
**
argv
)
{
if
(
argc
!=
2
){
std
::
cout
<<
"expect 1 argument"
<<
std
::
endl
;
return
0
;
}
string
length
(
argv
[
1
]);
std
::
vector
<
string
>
create
{
"drop database if exists micro_db;"
,
"create database micro_db;"
,
"use micro_db;"
,
"create table int_table(id integer);"
,
string
(
"create table str_table(name varchar("
)
+
length
+
"));"
};
big_proxy
b
;
for
(
auto
item
:
create
){
b
.
go
(
item
);
}
return
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