MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DropNodegroupImpl.hpp
1 /* Copyright (C) 2008 MySQL AB
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 as published by
5  the Free Software Foundation; version 2 of the License.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  GNU General Public License for more details.
11 
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software
14  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
15 
16 #ifndef DROP_NODEGROUP_IMPL_HPP
17 #define DROP_NODEGROUP_IMPL_HPP
18 
19 #include "SignalData.hpp"
20 
25  friend class Dbdict;
26  friend class Tsman;
27  friend class Lgman;
28 
32  friend bool printDROP_NODEGROUP_IMPL_REQ(FILE*, const Uint32*, Uint32, Uint16);
33 
34  STATIC_CONST( SignalLength = 6 );
35 
36  enum {
37  RT_PARSE = 0x1,
38  RT_PREPARE = 0x2,
39  RT_ABORT = 0x3,
40  RT_COMMIT = 0x4,
41  RT_COMPLETE = 0x5
42  };
43 
44  Uint32 senderData;
45  Uint32 senderRef;
46 
47  Uint32 requestType;
48  Uint32 nodegroupId;
49 
50  Uint32 gci_hi;
51  Uint32 gci_lo;
52 };
53 
58  friend class Dbdict;
59  friend class Tsman;
60  friend class Lgman;
61 
65  friend bool printDROP_NODEGROUP_IMPL_REF(FILE*, const Uint32*, Uint32, Uint16);
66 
67  STATIC_CONST( SignalLength = 3 );
68 
69  enum ErrorCode {
70  NoError = 0,
71  NoSuchNodegroup = 767,
72  InvalidNodegroupVersion = 767,
73  NodegroupInUse = 768
74  };
75 
76  Uint32 senderData;
77  Uint32 senderRef;
78  Uint32 errorCode;
79 };
80 
85  friend class Dbdict;
86  friend class Tsman;
87  friend class Lgman;
88 
92  friend bool printDROP_NODEGROUP_IMPL_CONF(FILE*, const Uint32*, Uint32, Uint16);
93 
94  STATIC_CONST( SignalLength = 4 );
95 
96  Uint32 senderData;
97  Uint32 senderRef;
98  Uint32 gci_hi;
99  Uint32 gci_lo;
100 };
101 
102 #endif