MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CopyData.hpp
1
/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
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 COPY_DATA_HPP
17
#define COPY_DATA_HPP
18
19
#include "SignalData.hpp"
20
21
struct
CopyDataReq
22
{
23
24
STATIC_CONST( SignalLength = 9 );
25
26
enum
RequestType {
27
ReorgCopy = 0,
28
ReorgDelete = 1
29
// AlterTableCopy
30
};
31
32
enum
Flags {
33
TupOrder = 1
34
};
35
36
union
{
37
Uint32 clientRef;
38
Uint32 senderRef;
39
};
40
union
{
41
Uint32 clientData;
42
Uint32 senderData;
43
};
44
Uint32 transKey;
45
Uint32 transId;
46
Uint32 requestType;
47
Uint32 requestInfo;
48
Uint32 srcTableId;
49
Uint32 dstTableId;
50
Uint32 srcFragments;
// Only used for ReorgDelete
51
};
52
53
struct
CopyDataConf
54
{
55
56
STATIC_CONST( SignalLength = 3 );
57
58
Uint32 senderRef;
59
union
{
60
Uint32 senderData;
61
Uint32 clientData;
62
};
63
Uint32 transId;
64
};
65
66
struct
CopyDataRef
67
{
68
STATIC_CONST( SignalLength = 9 );
69
70
Uint32 senderRef;
71
Uint32 senderData;
72
Uint32 transId;
73
Uint32 masterNodeId;
74
Uint32 errorNodeId;
75
Uint32 errorCode;
76
Uint32 errorLine;
77
Uint32 errorKey;
78
Uint32 errorStatus;
79
};
80
81
typedef
CopyDataReq
CopyDataImplReq
;
82
typedef
CopyDataRef
CopyDataImplRef
;
83
typedef
CopyDataConf
CopyDataImplConf
;
84
85
#endif
storage
ndb
include
kernel
signaldata
CopyData.hpp
Generated on Sat Nov 9 2013 01:26:54 for MySQL 5.6.14 Source Code Document by
1.8.1.2