Skip to content
Snippets Groups Projects

Debug build

2 files
+ 17
17
Compare changes
  • Side-by-side
  • Inline

Files

+ 15
15
@@ -55,12 +55,12 @@
@@ -55,12 +55,12 @@
return StatusCode::TRANSACTION_STATUS_ERROR; \
return StatusCode::TRANSACTION_STATUS_ERROR; \
} \
} \
switch (this->transaction_type) { \
switch (this->transaction_type) { \
case NONE: \
case TransactionType::NONE: \
this->transaction_type = TransactionType::READ_ONLY; \
this->transaction_type = TransactionType::READ_ONLY; \
break; \
break; \
case READ_ONLY: \
case TransactionType::READ_ONLY: \
break; \
break; \
case MIXED_READ_AND_WRITE: \
case TransactionType::MIXED_READ_AND_WRITE: \
break; \
break; \
default: \
default: \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
@@ -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 NONE: \
case TransactionType::NONE: \
this->transaction_type = TransactionType::DELETE; \
this->transaction_type = TransactionType::DELETE; \
case DELETE: \
case TransactionType::DELETE: \
case MIXED_WRITE: \
case TransactionType::MIXED_WRITE: \
case MIXED_READ_AND_WRITE: \
case TransactionType::MIXED_READ_AND_WRITE: \
break; \
break; \
default: \
default: \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
@@ -113,11 +113,11 @@
@@ -113,11 +113,11 @@
return StatusCode::TRANSACTION_STATUS_ERROR; \
return StatusCode::TRANSACTION_STATUS_ERROR; \
} \
} \
switch (this->transaction_type) { \
switch (this->transaction_type) { \
case NONE: \
case TransactionType::NONE: \
this->transaction_type = TransactionType::INSERT; \
this->transaction_type = TransactionType::INSERT; \
case INSERT: \
case TransactionType::INSERT: \
case MIXED_WRITE: \
case TransactionType::MIXED_WRITE: \
case MIXED_READ_AND_WRITE: \
case TransactionType::MIXED_READ_AND_WRITE: \
break; \
break; \
default: \
default: \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
@@ -135,11 +135,11 @@
@@ -135,11 +135,11 @@
return StatusCode::TRANSACTION_STATUS_ERROR; \
return StatusCode::TRANSACTION_STATUS_ERROR; \
} \
} \
switch (this->transaction_type) { \
switch (this->transaction_type) { \
case NONE: \
case TransactionType::NONE: \
this->transaction_type = TransactionType::INSERT; \
this->transaction_type = TransactionType::INSERT; \
case INSERT: \
case TransactionType::INSERT: \
case MIXED_WRITE: \
case TransactionType::MIXED_WRITE: \
case MIXED_READ_AND_WRITE: \
case TransactionType::MIXED_READ_AND_WRITE: \
break; \
break; \
default: \
default: \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
CAOSDB_LOG_ERROR_AND_RETURN_STATUS( \
Loading