MySQL 8.0.39
Source Code Documentation
observer_trans.h
Go to the documentation of this file.
1/* Copyright (c) 2013, 2024, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is designed to work with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifndef OBSERVER_TRANS
25#define OBSERVER_TRANS
26
28
29/*
30 Transaction lifecycle events observers.
31*/
33
35
37
39
41
42int group_replication_trans_begin(Trans_param *param, int &out);
43
45
46#endif /* OBSERVER_TRANS */
int group_replication_trans_after_commit(Trans_param *param)
Definition: observer_trans.cc:612
int group_replication_trans_after_rollback(Trans_param *param)
Definition: observer_trans.cc:642
Trans_observer trans_observer
Definition: observer_trans.cc:703
int group_replication_trans_before_rollback(Trans_param *param)
Definition: observer_trans.cc:607
int group_replication_trans_before_commit(Trans_param *param)
Definition: observer_trans.cc:169
int group_replication_trans_begin(Trans_param *param, int &out)
Definition: observer_trans.cc:668
int group_replication_trans_before_dml(Trans_param *param, int &out)
Definition: observer_trans.cc:100
Observes and extends transaction execution.
Definition: replication.h:298
Transaction observer parameter.
Definition: replication.h:132