~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler_structs.h

Merge in Stewart's FK work

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, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
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
32
32
#endif
33
33
 
34
34
#include <drizzled/base.h>
 
35
#include <drizzled/structs.h>
35
36
#include <drizzled/definitions.h>
36
37
#include <drizzled/lex_string.h>
37
 
#include <drizzled/structs.h>
 
38
#include "drizzled/global_charset_info.h"
38
39
 
39
40
namespace drizzled
40
41
{
41
42
 
42
 
struct charset_info_st;
43
 
 
44
43
namespace plugin
45
44
{
46
45
class StorageEngine;
48
47
 
49
48
typedef struct st_ha_create_information
50
49
{
51
 
  const charset_info_st *table_charset, *default_table_charset;
 
50
  const CHARSET_INFO *table_charset, *default_table_charset;
52
51
  const char *alias;
53
52
  uint64_t auto_increment_value;
54
53
  uint32_t table_options;
77
76
  uint32_t index_add_count;
78
77
  uint32_t *index_add_buffer;
79
78
  void *data;
80
 
 
81
 
  st_ha_alter_information() :
82
 
    key_info_buffer(0),
83
 
    key_count(0),
84
 
    index_drop_count(0),
85
 
    index_drop_buffer(0),
86
 
    index_add_count(0),
87
 
    index_add_buffer(0),
88
 
    data(0)
89
 
  { }
90
 
 
91
79
} HA_ALTER_INFO;
92
80
 
93
81
 
94
 
typedef struct key_create_information_st
 
82
typedef struct st_key_create_information
95
83
{
96
84
  enum ha_key_alg algorithm;
97
85
  uint32_t block_size;