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
e103d88e
Commit
e103d88e
authored
Jan 14, 2018
by
yiwenshao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
in cdb_test, when we meet exception, we should exit
parent
c54c5ab4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cdb_test.cc
main/cdb_test.cc
+2
-0
No files found.
main/cdb_test.cc
View file @
e103d88e
...
@@ -200,6 +200,7 @@ bool myRewrite(std::string curQuery,unsigned long long _thread_id,std::string cl
...
@@ -200,6 +200,7 @@ bool myRewrite(std::string curQuery,unsigned long long _thread_id,std::string cl
c_wrapper
->
setQueryRewrite
(
std
::
move
(
qr
));
c_wrapper
->
setQueryRewrite
(
std
::
move
(
qr
));
}
catch
(...){
}
catch
(...){
std
::
cout
<<
"rewrite exception!!!"
<<
std
::
endl
;
std
::
cout
<<
"rewrite exception!!!"
<<
std
::
endl
;
exit
(
0
);
return
false
;
return
false
;
}
}
return
true
;
return
true
;
...
@@ -333,6 +334,7 @@ void myNext(std::string client,bool isFirst,ResType inRes) {
...
@@ -333,6 +334,7 @@ void myNext(std::string client,bool isFirst,ResType inRes) {
}
}
}
catch
(...){
}
catch
(...){
std
::
cout
<<
"next error"
<<
std
::
endl
;
std
::
cout
<<
"next error"
<<
std
::
endl
;
exit
(
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