aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorssmike <ssmike@ydb.tech>2023-03-02 20:18:39 +0300
committerssmike <ssmike@ydb.tech>2023-03-02 20:18:39 +0300
commite92cfd20e40d4577bafbae4a0fe7077d4df07bdd (patch)
tree5f2ed04f08bde65eff273738a7164d0aede5543e
parentb2e129b230222de5a18d2b988dc1d96b4a83eb73 (diff)
downloadydb-e92cfd20e40d4577bafbae4a0fe7077d4df07bdd.tar.gz
Allow snapshots in tests
-rw-r--r--ydb/core/kqp/executer_actor/kqp_data_executer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/kqp/executer_actor/kqp_data_executer.cpp b/ydb/core/kqp/executer_actor/kqp_data_executer.cpp
index 1178df22fa..96d07a145c 100644
--- a/ydb/core/kqp/executer_actor/kqp_data_executer.cpp
+++ b/ydb/core/kqp/executer_actor/kqp_data_executer.cpp
@@ -1898,7 +1898,7 @@ private:
ReadOnlyTx &&
!ImmediateTx &&
!HasPersistentChannels &&
- !Database.empty() &&
+ (!Database.empty() || AppData()->EnableMvccSnapshotWithLegacyDomainRoot) &&
AppData()->FeatureFlags.GetEnableMvccSnapshotReads());
if (forceSnapshot) {