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

MAINT: cleanup transaction.h

parent 54c9b8cf
No related branches found
No related tags found
2 merge requests!45Release 0.2.2,!44F grpc select
Pipeline #30762 failed
Pipeline: caosdb-cppinttest

#30763

    ......@@ -342,10 +342,6 @@ public:
    CAOSDB_LOG_ERROR(logger_name)
    << "GetResultTable was called before the transaction has terminated. This is a programming "
    "error of the code which uses the transaction.";
    // TODO(tf) This is a really bad SegFault factory. When the transaction
    // terminates and the result_set is being overriden, the unique_ptr
    // created here will be deleted and any client of the return ResultTable
    // will have a SegFault.
    } else if (this->GetStatus().GetCode() == StatusCode::SPOILED) {
    CAOSDB_LOG_ERROR(logger_name)
    << "GetResultTable was called on a \"spoiled\" transaction. That means "
    ......
    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