MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DropIndx.hpp
1 /*
2  Copyright (C) 2003, 2005-2007 MySQL AB
3  All rights reserved. Use is subject to license terms.
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; version 2 of the License.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef DROP_INDX_HPP
20 #define DROP_INDX_HPP
21 
22 #include "SignalData.hpp"
23 #include <NodeBitmask.hpp>
24 
25 struct DropIndxReq {
26  STATIC_CONST( SignalLength = 7 );
27 
28  Uint32 clientRef;
29  Uint32 clientData;
30  Uint32 transId;
31  Uint32 transKey;
32  Uint32 requestInfo;
33  Uint32 indexId;
34  Uint32 indexVersion;
35 };
36 
37 struct DropIndxConf {
38  STATIC_CONST( SignalLength = 5 );
39 
40  Uint32 senderRef;
41  Uint32 clientData;
42  Uint32 transId;
43  Uint32 indexId;
44  Uint32 indexVersion;
45 };
46 
47 struct DropIndxRef {
48  STATIC_CONST( SignalLength = 9 );
49 
50  enum ErrorCode {
51  NoError = 0,
52  InvalidIndexVersion = 241,
53  Busy = 701,
54  BusyWithNR = 711,
55  NotMaster = 702,
56  IndexNotFound = 4243,
57  BadRequestType = 4247,
58  InvalidName = 4248,
59  NotAnIndex = 4254,
60  SingleUser = 299
61  };
62 
63  Uint32 senderRef;
64  Uint32 clientData;
65  Uint32 transId;
66  Uint32 indexId;
67  Uint32 indexVersion;
68  Uint32 errorCode;
69  Uint32 errorLine;
70  Uint32 errorNodeId;
71  Uint32 masterNodeId;
72 };
73 
74 #endif