1
/* Copyright (C) 2003 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; either version 2 of the License, or
6
(at your option) any later version.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
20
#include "SignalData.hpp"
23
* Add fragment and add attribute signals between LQH and TUP,TUX.
24
* NOTE: return signals from TUP,TUX to LQH must have same format.
33
STATIC_CONST( SignalLength = 17 );
50
Uint32 checksumIndicator;
51
Uint32 noOfAttributeGroups;
52
Uint32 globalCheckpointIdIndicator;
59
STATIC_CONST( SignalLength = 4 );
71
STATIC_CONST( SignalLength = 2 );
83
STATIC_CONST( SignalLength = 14 );
93
Uint32 primaryTableId;
94
Uint32 tupIndexFragPtrI;
95
Uint32 tupTableFragPtrI[2];
96
Uint32 accTableFragPtrI[2];
103
STATIC_CONST( SignalLength = 4 );
106
Uint32 tuxConnectPtr;
115
STATIC_CONST( SignalLength = 2 );
118
InvalidRequest = 903,
119
NoFreeFragment = 904,
120
NoFreeAttributes = 905
127
// TUP: add attribute
129
class TupAddAttrReq {
133
STATIC_CONST( SignalLength = 5 );
135
Uint32 tupConnectPtr;
138
Uint32 attrDescriptor;
142
class TupAddAttrConf {
146
STATIC_CONST( SignalLength = 2 );
149
Uint32 lastAttr; // bool: got last attr and closed frag op
152
class TupAddAttrRef {
156
STATIC_CONST( SignalLength = 2 );
159
InvalidCharset = 743,
160
TooManyBitsUsed = 831,
161
UnsupportedType = 906
168
// TUX: add attribute
170
class TuxAddAttrReq {
174
STATIC_CONST( SignalLength = 6 );
176
Uint32 tuxConnectPtr;
179
Uint32 attrDescriptor;
181
Uint32 primaryAttrId;
184
class TuxAddAttrConf {
188
STATIC_CONST( SignalLength = 2 );
191
Uint32 lastAttr; // bool: got last attr and closed frag op
194
class TuxAddAttrRef {
198
STATIC_CONST( SignalLength = 2 );
201
InvalidAttributeType = 906,
202
InvalidCharset = 907,
203
InvalidNodeSize = 908