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
49d287e7
Commit
49d287e7
authored
Feb 05, 2018
by
yiwenshao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change final_load(why), and test_load_schema
parent
42ef508b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
final_load.cc
debug/final_load.cc
+1
-1
test_load_schema.cc
debug/test_load_schema.cc
+4
-1
No files found.
debug/final_load.cc
View file @
49d287e7
...
...
@@ -400,7 +400,7 @@ main(int argc, char* argv[]){
std
::
to_string
(
t_init
.
lap
()
/
1000000u
)
<<
"##"
<<
std
::
to_string
(
time
(
NULL
))
<<
"
\n
"
;
for
(
auto
item
:
gcountMap
){
for
(
auto
item
:
gcountMap
)
{
glog
<<
"onionComputed: "
<<
TypeText
<
onion
>::
toText
(
item
.
first
)
<<
"::"
<<
std
::
to_string
(
item
.
second
)
<<
"
\n
"
;
...
...
debug/test_load_schema.cc
View file @
49d287e7
...
...
@@ -79,7 +79,10 @@ static void processTableMeta(const TableMeta &table){
static
void
processDatabaseMeta
(
const
DatabaseMeta
&
db
)
{
std
::
cout
<<
GREEN_BEGIN
<<
"PRINT DatabaseMeta"
<<
COLOR_END
<<
std
::
endl
;
for
(
const
auto
&
table
:
db
.
getChildren
()){
cout
<<
"tablemetaid: "
<<
table
.
second
->
getDatabaseID
()
<<
" ### dbmeta name: "
<<
table
.
first
.
getValue
()
<<
std
::
endl
;
//cout<<"tablemetaid: "<<table.second->getDatabaseID()
//cout<<" ### tablemeta name: "<<table.first.getValue()<<
//"annotablename: "<<table.second->getAnonTableName()<<std::endl;
cout
<<
"tablemap: "
<<
table
.
second
->
getAnonTableName
()
<<
" "
<<
table
.
first
.
getValue
()
<<
std
::
endl
;
processTableMeta
(
*
(
table
.
second
));
}
}
...
...
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