MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CreateIndxImpl.hpp
1 /* Copyright (C) 2007 MySQL AB
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 CREATE_INDX_IMPL_HPP
17 #define CREATE_INDX_IMPL_HPP
18 
19 #include "SignalData.hpp"
20 
22  STATIC_CONST( SignalLength = 8 );
23  SECTION( ATTRIBUTE_LIST_SECTION = 0 );
24  SECTION( INDEX_NAME_SECTION = 1 );
25 
26  Uint32 senderRef;
27  Uint32 senderData;
28  Uint32 requestType;
29  Uint32 tableId;
30  Uint32 tableVersion;
31  Uint32 indexType;
32  Uint32 indexId;
33  Uint32 indexVersion;
34 };
35 
37  STATIC_CONST( SignalLength = 2 );
38 
39  Uint32 senderRef;
40  Uint32 senderData;
41 };
42 
44  STATIC_CONST( SignalLength = 6 );
45 
46  enum ErrorCode {
47  NoError = 0,
48  Busy = 701,
49  BusyWithNR = 711,
50  NotMaster = 702,
51  IndexOnDiskAttributeError = 756,
52  TriggerNotFound = 4238,
53  TriggerExists = 4239,
54  IndexNameTooLong = 4241,
55  TooManyIndexes = 4242,
56  IndexExists = 4244,
57  AttributeNullable = 4246,
58  BadRequestType = 4247,
59  InvalidName = 4248,
60  InvalidPrimaryTable = 4249,
61  InvalidIndexType = 4250,
62  NotUnique = 4251,
63  AllocationError = 4252,
64  CreateIndexTableFailed = 4253,
65  DuplicateAttributes = 4258,
66  TableIsTemporary = 776,
67  TableIsNotTemporary = 777,
68  NoLoggingTemporaryIndex = 778,
69  InconsistentTC = 292
70  };
71 
72  Uint32 senderRef;
73  Uint32 senderData;
74  Uint32 errorCode;
75  Uint32 errorLine;
76  Uint32 errorNodeId;
77  Uint32 masterNodeId;
78 };
79 
80 #endif