Skip to content
Snippets Groups Projects
Commit e35253f6 authored by Alexander Kreft's avatar Alexander Kreft
Browse files

MAINT: Rename DELETE for windows build

parent 22abf083
No related branches found
No related tags found
2 merge requests!33Release 0.1,!32fix windows build
Pipeline #14346 failed
...@@ -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::DELETE2; \
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 DELETE2, //!< 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.
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment