MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DropTab.hpp
1
/*
2
Copyright (C) 2003-2007 MySQL AB, 2010 Sun Microsystems, Inc.
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_TAB_HPP
20
#define DROP_TAB_HPP
21
22
#include "SignalData.hpp"
23
24
struct
DropTabReq
{
25
STATIC_CONST( SignalLength = 5 );
26
27
enum
RequestType {
28
OnlineDropTab = 0,
29
CreateTabDrop = 1,
30
RestartDropTab = 2
31
};
32
33
Uint32 senderRef;
34
Uint32 senderData;
35
Uint32 requestType;
36
Uint32 tableId;
37
Uint32 tableVersion;
38
};
39
40
struct
DropTabConf
{
41
STATIC_CONST( SignalLength = 3 );
42
43
Uint32 senderRef;
44
Uint32 senderData;
45
Uint32 tableId;
46
};
47
48
struct
DropTabRef
{
49
STATIC_CONST( SignalLength = 4 );
50
51
enum
ErrorCode {
52
NoSuchTable = 1,
53
DropWoPrep = 2,
// Calling Drop with first calling PrepDrop
54
PrepDropInProgress = 3,
55
DropInProgress = 4,
56
NF_FakeErrorREF = 5,
57
InvalidTableState = 6
58
};
59
60
Uint32 senderRef;
61
Uint32 senderData;
62
Uint32 tableId;
63
Uint32 errorCode;
64
};
65
66
#endif
storage
ndb
include
kernel
signaldata
DropTab.hpp
Generated on Sat Nov 9 2013 01:26:55 for MySQL 5.6.14 Source Code Document by
1.8.1.2