MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DropIndxImpl.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 DROP_INDX_IMPL_HPP
17 #define DROP_INDX_IMPL_HPP
18 
19 #include "SignalData.hpp"
20 
22  STATIC_CONST( SignalLength = 7 );
23 
24  Uint32 senderRef;
25  Uint32 senderData;
26  Uint32 requestType;
27  Uint32 tableId;
28  Uint32 tableVersion;
29  Uint32 indexId;
30  Uint32 indexVersion;
31 };
32 
34  STATIC_CONST( SignalLength = 2 );
35 
36  Uint32 senderRef;
37  Uint32 senderData;
38 };
39 
41  enum ErrorCode {
42  NoError = 0,
43  InvalidIndexVersion = 241,
44  Busy = 701,
45  BusyWithNR = 711,
46  NotMaster = 702,
47  IndexNotFound = 4243,
48  BadRequestType = 4247,
49  InvalidName = 4248,
50  NotAnIndex = 4254,
51  InconsistentTC = 292
52  };
53  STATIC_CONST( SignalLength = 6 );
54 
55  Uint32 senderRef;
56  Uint32 senderData;
57  Uint32 errorCode;
58  Uint32 errorLine;
59  Uint32 errorNodeId;
60  Uint32 masterNodeId;
61 };
62 
63 #endif