Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tardisDB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Blum
tardisDB
Commits
9210ec6b
Commit
9210ec6b
authored
4 years ago
by
Thomas Blum
Browse files
Options
Downloads
Patches
Plain Diff
Move Result type definition to code file
parent
db91c3a8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#39183
canceled
4 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algebra/logical/operators.cpp
+7
-0
7 additions, 0 deletions
algebra/logical/operators.cpp
algebra/logical/operators.hpp
+1
-5
1 addition, 5 deletions
algebra/logical/operators.hpp
with
8 additions
and
5 deletions
algebra/logical/operators.cpp
+
7
−
0
View file @
9210ec6b
...
...
@@ -439,6 +439,13 @@ void Update::computeRequired() {
//-----------------------------------------------------------------------------
// Result operator
#if TUPLE_STREAM_REQUIRED
Result
::
Type
Result
::
_type
=
Type
::
TupleStreamHandler
;
#else
Result
::
Type
Result
::
_type
=
Type
::
PrintToStdOut
;
#endif
Result
::
Result
(
std
::
unique_ptr
<
Operator
>
child
,
const
std
::
vector
<
iu_p_t
>
&
selection
)
:
UnaryOperator
(
std
::
move
(
child
)),
selection
(
selection
)
...
...
This diff is collapsed.
Click to expand it.
algebra/logical/operators.hpp
+
1
−
5
View file @
9210ec6b
...
...
@@ -511,11 +511,7 @@ protected:
class
Result
:
public
UnaryOperator
{
public:
#if TUPLE_STREAM_REQUIRED
enum
class
Type
{
PrintToStdOut
,
TupleStreamHandler
}
_type
=
Type
::
TupleStreamHandler
;
#else
enum
class
Type
{
PrintToStdOut
,
TupleStreamHandler
}
_type
=
Type
::
PrintToStdOut
;
#endif
static
enum
class
Type
{
PrintToStdOut
,
TupleStreamHandler
}
_type
;
std
::
vector
<
iu_p_t
>
selection
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment