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
AllocMem.hpp
1
/*
2
Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; version 2 of the License.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
*/
17
18
#ifndef ALLOC_MEM_HPP
19
#define ALLOC_MEM_HPP
20
21
#include "SignalData.hpp"
22
23
struct
AllocMemReq
24
{
25
STATIC_CONST( SignalLength = 5 );
26
27
enum
RequestType
28
{
29
RT_MAP = 0,
// Map any unmapped chunk
30
RT_EXTEND = 1,
// extend heap with bytes_hi/lo
31
32
RT_MEMLOCK = 1 << 8
33
};
34
35
Uint32 senderRef;
36
Uint32 senderData;
37
Uint32 requestInfo;
38
Uint32 bytes_hi;
39
Uint32 bytes_lo;
40
};
41
42
struct
AllocMemRef
43
{
44
STATIC_CONST( SignalLength = 4 );
45
46
Uint32 senderRef;
47
Uint32 senderData;
48
Uint32 requestInfo;
49
Uint32 errorCode;
50
};
51
52
struct
AllocMemConf
53
{
54
STATIC_CONST( SignalLength = 5 );
55
56
Uint32 senderRef;
57
Uint32 senderData;
58
Uint32 requestInfo;
59
Uint32 bytes_hi;
60
Uint32 bytes_lo;
61
};
62
63
#endif
storage
ndb
include
kernel
signaldata
AllocMem.hpp
Generated on Sat Nov 9 2013 01:26:53 for MySQL 5.6.14 Source Code Document by
1.8.1.2