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
a0509642
Commit
a0509642
authored
Jan 24, 2018
by
yiwenshao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
able to use loadCount in low_memory_load_final
parent
d6049088
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
final_load_low_memory.cc
debug/final_load_low_memory.cc
+3
-2
No files found.
debug/final_load_low_memory.cc
View file @
a0509642
...
...
@@ -14,6 +14,7 @@
#include "wrapper/reuse.hh"
#include "wrapper/common.hh"
#include "wrapper/insert_lib.hh"
#include "util/constants.hh"
using
std
::
cout
;
using
std
::
cin
;
using
std
::
endl
;
...
...
@@ -138,9 +139,9 @@ void initGfb(std::vector<FieldMetaTrans> &res,std::string db,std::string table){
std
::
string
filename
=
prefix
+
gfb
.
field_names
[
i
];
std
::
vector
<
std
::
string
>
column
;
if
(
IS_NUM
(
gfb
.
field_types
[
i
])){
load_num_file
(
filename
,
column
);
load_num_file
_count
(
filename
,
column
,
constGlobalConstants
.
loadCount
);
}
else
{
load_string_file
(
filename
,
column
,
gfb
.
field_lengths
[
i
]
);
load_string_file
_count
(
filename
,
column
,
gfb
.
field_lengths
[
i
],
constGlobalConstants
.
loadCount
);
}
tupleNum
=
column
.
size
();
gfb
.
annoOnionNameToFileVector
[
gfb
.
field_names
[
i
]]
=
std
::
move
(
column
);
...
...
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