Skip to content
Snippets Groups Projects
Verified Commit 8eaa4281 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-files' of gitlab.indiscale.com:caosdb/src/caosdb-cpplib into f-files

parents ea446318 8863d608
No related branches found
No related tags found
1 merge request!11F files
Pipeline #12090 passed
Pipeline: caosdb-cppinttest

#12094

    ......@@ -258,7 +258,8 @@ auto Transaction::Execute() -> TransactionStatus {
    return status;
    }
    auto Transaction::ExecuteAsynchronously() noexcept -> StatusCode {
    // TODO(tf) This has apparently a cognitive complexity of 39>25 (threshold).
    auto Transaction::ExecuteAsynchronously() noexcept -> StatusCode { // NOLINT
    if (!IsStatus(TransactionStatus::READY()) &&
    !IsStatus(TransactionStatus::GO_ON())) {
    return StatusCode::TRANSACTION_STATUS_ERROR;
    ......@@ -358,7 +359,8 @@ auto Transaction::ExecuteAsynchronously() noexcept -> StatusCode {
    return StatusCode::EXECUTING;
    }
    auto Transaction::WaitForIt() const noexcept -> TransactionStatus {
    // TODO(tf) This has apparently a cognitive complexity of 36>25 (threshold).
    auto Transaction::WaitForIt() const noexcept -> TransactionStatus { // NOLINT
    if (this->status.GetCode() != StatusCode::EXECUTING) {
    return this->status;
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment