Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
caosdb-cpplib
Commits
e35253f6
Commit
e35253f6
authored
3 years ago
by
Alexander Kreft
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Rename DELETE for windows build
parent
22abf083
No related branches found
No related tags found
2 merge requests
!33
Release 0.1
,
!32
fix windows build
Pipeline
#14346
failed
3 years ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/caosdb/transaction.h
+6
-6
6 additions, 6 deletions
include/caosdb/transaction.h
with
6 additions
and
6 deletions
include/caosdb/transaction.h
+
6
−
6
View file @
e35253f6
...
@@ -91,11 +91,11 @@
...
@@ -91,11 +91,11 @@
return StatusCode::TRANSACTION_STATUS_ERROR; \
return StatusCode::TRANSACTION_STATUS_ERROR; \
} \
} \
switch (this->transaction_type) { \
switch (this->transaction_type) { \
case
TransactionType::NONE:
\
case
NONE:
\
this->transaction_type = TransactionType::DELETE;
\
this->transaction_type = TransactionType::DELETE
2
; \
case
TransactionType::DELETE:
\
case
DELETE2:
\
case
TransactionType::MIXED_WRITE:
\
case
MIXED_WRITE:
\
case
TransactionType::
MIXED_READ_AND_WRITE: \
case MIXED_READ_AND_WRITE:
\
break; \
break; \
default: \
default: \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
...
@@ -290,7 +290,7 @@ public:
...
@@ -290,7 +290,7 @@ public:
READ_ONLY
,
//!< Only retrievals (by id, by query)
READ_ONLY
,
//!< Only retrievals (by id, by query)
INSERT
,
//!< Only insertions
INSERT
,
//!< Only insertions
UPDATE
,
//!< Only updates
UPDATE
,
//!< Only updates
DELETE
,
//!< Only deletions
DELETE
2
,
//!< Only deletions
MIXED_WRITE
,
//!< Only insertions, deletions, updates
MIXED_WRITE
,
//!< Only insertions, deletions, updates
MIXED_READ_AND_WRITE
//!< all kind of transaction.
MIXED_READ_AND_WRITE
//!< all kind of transaction.
};
};
...
...
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