MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AccFrag.hpp
1 /*
2  Copyright (C) 2003, 2005, 2006 MySQL AB
3  All rights reserved. Use is subject to license terms.
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; version 2 of the License.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef ACC_FRAG_HPP
20 #define ACC_FRAG_HPP
21 
22 #include "SignalData.hpp"
23 
24 class AccFragReq {
28  friend class Dblqh;
29 
33  friend class Dbacc;
34 public:
35  STATIC_CONST( SignalLength = 12 );
36 
37 private:
38  Uint32 userPtr;
39  Uint32 userRef;
40  Uint32 tableId;
41  Uint32 reqInfo;
42  Uint32 fragId;
43  Uint32 localKeyLen;
44  Uint32 maxLoadFactor;
45  Uint32 minLoadFactor;
46  Uint32 kValue;
47  Uint32 lhFragBits;
48  Uint32 lhDirBits;
49  Uint32 keyLength;
50 };
51 
52 class AccFragConf {
56  friend class Dbacc;
57 
61  friend class Dblqh;
62 public:
63  STATIC_CONST( SignalLength = 7 );
64 
65 private:
66  Uint32 userPtr;
67  Uint32 rootFragPtr;
68  Uint32 fragId[2];
69  Uint32 fragPtr[2];
70  Uint32 rootHashCheck;
71 };
72 
73 class AccFragRef {
77  friend class Dbacc;
78 
82  friend class Dblqh;
83 public:
84  STATIC_CONST( SignalLength = 2 );
85 
86 private:
87  Uint32 userPtr;
88  Uint32 errorCode;
89 };
90 
91 #endif