1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
* Copyright (C) 2008 Sun Microsystems, Inc.
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
#if TIME_WITH_SYS_TIME
23
# include <sys/time.h>
27
# include <sys/time.h>
33
#include <drizzled/base.h>
34
#include <drizzled/definitions.h>
35
#include <drizzled/lex_string.h>
36
#include <drizzled/structs.h>
40
typedef struct st_ha_create_information
42
const charset_info_st *table_charset, *default_table_charset;
44
uint64_t auto_increment_value;
45
uint32_t table_options;
47
plugin::StorageEngine *db_type;
48
bool table_existed; /* 1 in create if table existed */
50
st_ha_create_information() :
52
default_table_charset(0),
54
auto_increment_value(0),
62
typedef struct st_ha_alter_information
64
KeyInfo *key_info_buffer;
66
uint32_t index_drop_count;
67
uint32_t *index_drop_buffer;
68
uint32_t index_add_count;
69
uint32_t *index_add_buffer;
72
st_ha_alter_information() :
85
typedef struct key_create_information_st
87
enum ha_key_alg algorithm;
93
typedef struct st_ha_check_opt
95
st_ha_check_opt() {} /* Remove gcc warning */
99
typedef struct st_range_seq_if
102
Initialize the traversal of range sequence
106
init_params The seq_init_param parameter
107
n_ranges The number of ranges obtained
108
flags A combination of HA_MRR_SINGLE_POINT, HA_MRR_FIXED_KEY
111
An opaque value to be used as RANGE_SEQ_IF::next() parameter
113
range_seq_t (*init)(void *init_params, uint32_t n_ranges, uint32_t flags);
117
Get the next range in the range sequence
121
seq The value returned by RANGE_SEQ_IF::init()
122
range OUT Information about the next range
125
0 - Ok, the range structure filled with info about the next range
128
uint32_t (*next) (range_seq_t seq, KEY_MULTI_RANGE *range);
131
} /* namespace drizzled */