Lines Matching refs:transaction
714 Transaction* transaction = nullptr; in InstallAssertion() local
716 transaction = Runtime::Current()->GetTransaction().get(); in InstallAssertion()
717 if (transaction != nullptr) { in InstallAssertion()
718 MutexLock mu(Thread::Current(), transaction->log_lock_); in InstallAssertion()
719 CHECK(transaction->assert_no_new_records_reason_ == nullptr) in InstallAssertion()
720 << "old: " << transaction->assert_no_new_records_reason_ << " new: " << reason; in InstallAssertion()
721 transaction->assert_no_new_records_reason_ = reason; in InstallAssertion()
724 return transaction; in InstallAssertion()
727 void ScopedAssertNoNewTransactionRecords::RemoveAssertion(Transaction* transaction) { in RemoveAssertion() argument
729 CHECK(Runtime::Current()->GetTransaction().get() == transaction); in RemoveAssertion()
730 MutexLock mu(Thread::Current(), transaction->log_lock_); in RemoveAssertion()
731 CHECK(transaction->assert_no_new_records_reason_ != nullptr); in RemoveAssertion()
732 transaction->assert_no_new_records_reason_ = nullptr; in RemoveAssertion()