mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / ndb / include / kernel / signaldata / CopyActive.hpp
blob5ded351be7582eb75f32bf848567519c7e27ddfc
1 /* Copyright (c) 2003, 2005 MySQL AB
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.
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.
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 */
16 #ifndef COPY_ACTIVE_HPP
17 #define COPY_ACTIVE_HPP
19 #include "SignalData.hpp"
21 class CopyActiveReq {
22 /**
23 * Sender(s)
25 friend class Dbdih;
27 /**
28 * Receiver(s)
30 friend class Dblqh;
31 public:
32 STATIC_CONST( SignalLength = 5 );
34 private:
35 Uint32 userPtr;
36 Uint32 userRef;
37 Uint32 tableId;
38 Uint32 fragId;
39 Uint32 distributionKey;
42 class CopyActiveConf {
43 /**
44 * Sender(s)
46 friend class Dblqh;
48 /**
49 * Receiver(s)
51 friend class Dbdih;
52 public:
53 STATIC_CONST( SignalLength = 5 );
55 private:
56 Uint32 userPtr;
57 Uint32 startingNodeId;
58 Uint32 tableId;
59 Uint32 fragId;
60 Uint32 startGci;
62 class CopyActiveRef {
63 /**
64 * Sender(s)
66 friend class Dblqh;
68 /**
69 * Receiver(s)
71 friend class Dbdih;
72 public:
73 STATIC_CONST( SignalLength = 5 );
75 private:
76 Uint32 userPtr;
77 Uint32 startingNodeId;
78 Uint32 tableId;
79 Uint32 fragId;
80 Uint32 errorCode;
83 #endif