Skip to content

Commit 5f92aea

Browse files
committed
Fix test
1 parent 57be867 commit 5f92aea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ydb/core/tx/schemeshard/schemeshard_utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ NKikimrSchemeOp::TTableDescription CalcImplTableDesc(
317317
result.AddKeyColumnNames(keyName);
318318
}
319319

320-
if (result.HasReplicationConfig()) {
320+
if (indexTableDesc.HasReplicationConfig()) {
321321
result.MutableReplicationConfig()->CopyFrom(indexTableDesc.GetReplicationConfig());
322322
}
323323

@@ -388,7 +388,7 @@ NKikimrSchemeOp::TTableDescription CalcImplTableDesc(
388388
result.AddKeyColumnNames(keyName);
389389
}
390390

391-
if (result.HasReplicationConfig()) {
391+
if (indexTableDesc.HasReplicationConfig()) {
392392
result.MutableReplicationConfig()->CopyFrom(indexTableDesc.GetReplicationConfig());
393393
}
394394

ydb/core/tx/schemeshard/ut_replication/ut_replication.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,11 +365,11 @@ Y_UNIT_TEST_SUITE(TReplicationTests) {
365365
IndexDescription {
366366
Name: "Index"
367367
KeyColumnNames: ["indexed"]
368-
IndexImplTableDescriptions: [ {
368+
IndexImplTableDescription {
369369
ReplicationConfig {
370370
Mode: REPLICATION_MODE_READ_ONLY
371371
}
372-
} ]
372+
}
373373
}
374374
)")));
375375
TestModificationResults(runtime, txId, {NKikimrScheme::StatusAccepted});

0 commit comments

Comments
 (0)