MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CreateHashMap.hpp
1 /* Copyright (C) 2008 MySQL AB, 2009 Sun Microsystems, Inc.
2  All rights reserved. Use is subject to license terms.
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; version 2 of the License.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
16 
17 #ifndef CREATE_HASHMAP_HPP
18 #define CREATE_HASHMAP_HPP
19 
20 #include "SignalData.hpp"
21 
23 {
24 
25  STATIC_CONST( SignalLength = 7 );
26 
27  enum RequestType
28  {
29  CreateIfNotExists = 1,
30  CreateDefault = 2,
31  CreateForReorg = 4
32  };
33 
34  Uint32 clientRef;
35  Uint32 clientData;
36  Uint32 transKey;
37  Uint32 transId;
38  Uint32 requestInfo;
39  Uint32 buckets;
40  Uint32 fragments;
41 
42  SECTION( INFO = 0 );
43 };
44 
46 {
47 
48  STATIC_CONST( SignalLength = 5 );
49 
50  Uint32 senderRef;
51  Uint32 senderData;
52  Uint32 objectId;
53  Uint32 objectVersion;
54  Uint32 transId;
55 };
56 
58 {
59  STATIC_CONST( SignalLength = 9 );
60 
61  Uint32 senderRef;
62  Uint32 senderData;
63  Uint32 transId;
64  Uint32 masterNodeId;
65  Uint32 errorNodeId;
66  Uint32 errorCode;
67  Uint32 errorLine;
68  Uint32 errorKey;
69  Uint32 errorStatus;
70 };
71 
72 #endif