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; 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
19
#include "SignalData.hpp"
32
friend bool printADD_FRAG_REQ(FILE *, const Uint32 *, Uint32, Uint16);
35
STATIC_CONST( SignalLength = 11 );
38
CreateInRunning = 0x8000000,
39
TemporaryTable = 0x00000010
43
Uint32 senderData; // The same data as sent in DIADDTABREQ
49
Uint32 totalFragments;
66
friend bool printADD_FRAG_REF(FILE *, const Uint32 *, Uint32, Uint16);
68
STATIC_CONST( SignalLength = 1 );
85
friend bool printADD_FRAG_CONF(FILE *, const Uint32 *, Uint32, Uint16);
87
STATIC_CONST( SignalLength = 2 );
105
friend bool printLQH_FRAG_REQ(FILE *, const Uint32 *, Uint32, Uint16);
108
STATIC_CONST( SignalLength = 25 );
111
CreateInRunning = 0x8000000,
112
TemporaryTable = 0x00000010
120
Uint32 maxLoadFactor;
121
Uint32 minLoadFactor;
123
Uint32 schemaVersion;
127
Uint32 tableType; // DictTabInfo::TableType
128
Uint32 primaryTableId; // table of index or RNIL
129
Uint32 tablespace_id; // RNIL for MM table
131
Uint16 localKeyLength;
134
Uint16 noOfAttributes;
135
Uint16 noOfNullAttributes;
136
Uint16 noOfPagesToPreAllocate;
139
Uint8 checksumIndicator;
146
Uint32 forceVarPartFlag;
160
friend bool printLQH_FRAG_CONF(FILE *, const Uint32 *, Uint32, Uint16);
162
STATIC_CONST( SignalLength = 2 );
180
friend bool printLQH_FRAG_REF(FILE *, const Uint32 *, Uint32, Uint16);
182
STATIC_CONST( SignalLength = 2 );
189
class LqhAddAttrReq {
200
friend bool printLQH_ADD_ATTR_REQ(FILE *, const Uint32 *, Uint32, Uint16);
202
STATIC_CONST( HeaderLength = 4 );
203
STATIC_CONST( EntryLength = 3 );
204
STATIC_CONST( MAX_ATTRIBUTES = 6 );
206
Uint32 attrId; // for index, includes primary attr id << 16
207
Uint32 attrDescriptor; // 2 words type info
212
Uint32 noOfAttributes;
214
Uint32 senderAttrPtr;
215
Entry attributes[MAX_ATTRIBUTES];
218
class LqhAddAttrRef {
229
friend bool printLQH_ADD_ATTR_REF(FILE *, const Uint32 *, Uint32, Uint16);
231
STATIC_CONST( SignalLength = 2 );
238
class LqhAddAttrConf {
249
friend bool printLQH_ADD_ATTR_CONF(FILE *, const Uint32 *, Uint32, Uint16);
251
STATIC_CONST( SignalLength = 3 );
255
Uint32 senderAttrPtr;