Sha256: a3f09b5748cb1f18dc1146d59fc5490f668d02534f6bd982c7d94476ae4b83e7
Contents?: true
Size: 1.47 KB
Versions: 3
Compression:
Stored size: 1.47 KB
Contents
/* * Copyright 2021-Present Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "cleanup_testing_hooks.hxx" namespace couchbase::core::transactions { namespace { inline std::optional<couchbase::core::transactions::error_class> noop1(const std::string&) { return {}; } inline std::optional<couchbase::core::transactions::error_class> noop2() { return {}; } } // namespace cleanup_testing_hooks::cleanup_testing_hooks() : before_commit_doc{ noop1 } , before_doc_get{ noop1 } , before_remove_doc_staged_for_removal{ noop1 } , before_remove_doc{ noop1 } , before_atr_get{ noop1 } , before_remove_links{ noop1 } , before_atr_remove{ noop2 } , on_cleanup_docs_completed{ noop2 } , on_cleanup_completed{ noop2 } , client_record_before_create{ noop1 } , client_record_before_get{ noop1 } , client_record_before_update{ noop1 } , client_record_before_remove_client{ noop1 } { } } // namespace couchbase::core::transactions
Version data entries
3 entries across 3 versions & 1 rubygems