Skip to content

Commit

Permalink
fixed airDate
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin committed Aug 27, 2024
1 parent aaca405 commit d4bbfa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ void ExplicitTcl(TQueryClient client, const TString& path) {
// In most cases it's better to use transaction control settings in ExecuteDataQuery calls instead
// to avoid additional hops to YDB cluster and allow more efficient execution of queries.
ThrowOnError(client.RetryQuerySync([&path](TQueryClient client) -> TStatus {
Instant airDate = TInstant::Now();
auto airDate = TInstant::Now();
auto session = client.GetSession().GetValueSync().GetSession();
auto beginResult = session.BeginTransaction(TTxSettings::SerializableRW()).GetValueSync();
if (!beginResult.IsSuccess()) {
Expand Down

0 comments on commit d4bbfa9

Please sign in to comment.