mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / ndb / include / kernel / signaldata / RelTabMem.hpp
blobf9b9f233202b4439851a565c2640ee85d8d69213
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 REL_TABMEM_HPP
17 #define REL_TABMEM_HPP
19 #include "SignalData.hpp"
21 class RelTabMemReq {
22 /**
23 * Sender(s) and Receiver(s)
25 friend class Dbdict;
27 /**
28 * Receiver(s)
30 friend class Dbacc;
31 friend class Dbdih;
32 friend class Dblqh;
33 friend class Dbtc;
34 friend class Dbtup;
35 public:
36 STATIC_CONST( SignalLength = 4 );
38 private:
39 Uint32 userPtr;
40 Uint32 userRef;
41 Uint32 primaryTableId;
42 Uint32 secondaryTableId;
45 class RelTabMemConf {
46 /**
47 * Sender(s) and Receiver(s)
49 friend class Dbdict;
51 /**
52 * Sender(s)
54 friend class Dbacc;
55 friend class Dbdih;
56 friend class Dblqh;
57 friend class Dbtc;
58 friend class Dbtup;
59 public:
60 STATIC_CONST( SignalLength = 2 );
62 private:
63 Uint32 userPtr;
64 Uint32 senderRef;
65 Uint32 nodeId;
68 #endif