~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler_structs.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-23 11:44:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2348.
  • Revision ID: olafvdspek@gmail.com-20110623114430-no355yypk4y3icqb
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_HANDLER_STRUCTS_H
21
 
#define DRIZZLED_HANDLER_STRUCTS_H
 
20
#pragma once
22
21
 
23
22
#if TIME_WITH_SYS_TIME
24
23
# include <sys/time.h>
32
31
#endif
33
32
 
34
33
#include <drizzled/base.h>
35
 
#include <drizzled/structs.h>
36
34
#include <drizzled/definitions.h>
37
35
#include <drizzled/lex_string.h>
38
 
#include "drizzled/global_charset_info.h"
39
 
 
40
 
namespace drizzled
41
 
{
42
 
 
43
 
namespace plugin
44
 
{
45
 
class StorageEngine;
46
 
}
 
36
#include <drizzled/structs.h>
 
37
 
 
38
namespace drizzled {
47
39
 
48
40
typedef struct st_ha_create_information
49
41
{
50
 
  const CHARSET_INFO *table_charset, *default_table_charset;
 
42
  const charset_info_st *table_charset, *default_table_charset;
51
43
  const char *alias;
52
44
  uint64_t auto_increment_value;
53
45
  uint32_t table_options;
90
82
} HA_ALTER_INFO;
91
83
 
92
84
 
93
 
typedef struct st_key_create_information
 
85
typedef struct key_create_information_st
94
86
{
95
 
  enum ha_key_alg algorithm;
 
87
  ha_key_alg algorithm;
96
88
  uint32_t block_size;
97
89
  LEX_STRING comment;
98
90
} KEY_CREATE_INFO;
99
91
 
100
92
 
101
 
typedef struct st_ha_check_opt
102
 
{
103
 
  st_ha_check_opt() {}                        /* Remove gcc warning */
104
 
} HA_CHECK_OPT;
105
 
 
106
 
 
107
93
typedef struct st_range_seq_if
108
94
{
109
95
  /*
138
124
 
139
125
} /* namespace drizzled */
140
126
 
141
 
#endif /* DRIZZLED_HANDLER_STRUCTS_H */