Skip to content

Commit

Permalink
Replace left LOG_S_CRIT to TEMPLOG
Browse files Browse the repository at this point in the history
  • Loading branch information
aavdonkin committed Sep 24, 2024
1 parent 47efee4 commit 2aeba59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/core/tx/columnshard/common/log.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#if 1
#if 0
#define TEMPLOG(x) LOG_S_CRIT(x)
#else
#define TEMPLOG(x)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#include "tx_data_from_source.h"
#include <ydb/core/tx/columnshard/engines/column_engine_logs.h>
#include <ydb/core/tx/columnshard/columnshard_schema.h>
#include <ydb/core/tx/columnshard/common/log.h>

namespace NKikimr::NOlap::NDataSharing {

bool TTxDataFromSource::DoExecute(NTabletFlatExecutor::TTransactionContext& txc, const TActorContext& /*ctx*/) {
LOG_S_CRIT("SaveToDatabase from TTxDataFromSource");
TEMPLOG("SaveToDatabase from TTxDataFromSource");
using namespace NKikimr::NColumnShard;
TDbWrapper dbWrapper(txc.DB, nullptr);
auto& index = Self->TablesManager.MutablePrimaryIndexAsVerified<NOlap::TColumnEngineForLogs>();
Expand Down

0 comments on commit 2aeba59

Please sign in to comment.