Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
row0ext.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (C) 2006, 2009, Innobase Oy. All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
26
#pragma once
27
#ifndef row0ext_h
28
#define row0ext_h
29
30
#include "univ.i"
31
#include "
row0types.h
"
32
#include "
data0types.h
"
33
#include "
mem0mem.h
"
34
35
/********************************************************************/
38
UNIV_INTERN
39
row_ext_t
*
40
row_ext_create
(
41
/*===========*/
42
ulint n_ext,
43
const
ulint* ext,
47
const
dtuple_t
* tuple,
53
ulint zip_size,
54
mem_heap_t
* heap);
56
/********************************************************************/
60
UNIV_INLINE
61
const
byte*
62
row_ext_lookup_ith
(
63
/*===============*/
64
const
row_ext_t
* ext,
65
ulint i,
66
ulint* len);
68
/********************************************************************/
72
UNIV_INLINE
73
const
byte*
74
row_ext_lookup
(
75
/*===========*/
76
const
row_ext_t
* ext,
77
ulint col,
81
ulint* len);
85
struct
row_ext_struct
{
86
ulint
n_ext
;
87
const
ulint*
ext
;
88
byte*
buf
;
89
ulint
len
[1];
90
};
91
92
#ifndef UNIV_NONINL
93
#include "row0ext.ic"
94
#endif
95
96
#endif
dtuple_struct
Definition:
data0data.h:442
row_ext_struct::buf
byte * buf
Definition:
row0ext.h:88
row_ext_create
UNIV_INTERN row_ext_t * row_ext_create(ulint n_ext, const ulint *ext, const dtuple_t *tuple, ulint zip_size, mem_heap_t *heap)
Definition:
row0ext.cc:75
row_ext_struct::len
ulint len[1]
Definition:
row0ext.h:89
row_ext_struct::n_ext
ulint n_ext
Definition:
row0ext.h:86
data0types.h
row_ext_struct
Definition:
row0ext.h:85
row_ext_lookup_ith
UNIV_INLINE const byte * row_ext_lookup_ith(const row_ext_t *ext, ulint i, ulint *len)
row0types.h
mem_block_info_struct
Definition:
mem0mem.h:351
row_ext_lookup
UNIV_INLINE const byte * row_ext_lookup(const row_ext_t *ext, ulint col, ulint *len)
mem0mem.h
row_ext_struct::ext
const ulint * ext
Definition:
row0ext.h:87
plugin
innobase
include
row0ext.h
Generated by
1.8.9.1