~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler_structs.h

  • Committer: Brian Aker
  • Date: 2010-08-03 19:24:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1683.
  • Revision ID: brian@gaz-20100803192414-jk20j0u6cnze3ja6
Do comparison via non-case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
namespace drizzled
41
41
{
42
42
 
 
43
typedef struct st_key_cache KEY_CACHE;
 
44
 
 
45
 
43
46
namespace plugin
44
47
{
45
48
class StorageEngine;
54
57
  uint32_t used_fields;
55
58
  plugin::StorageEngine *db_type;
56
59
  bool table_existed;                   /* 1 in create if table existed */
57
 
 
58
 
  st_ha_create_information() :
59
 
    table_charset(0),
60
 
    default_table_charset(0),
61
 
    alias(0),
62
 
    auto_increment_value(0),
63
 
    table_options(0),
64
 
    used_fields(0),
65
 
    db_type(0),
66
 
    table_existed(0)
67
 
  { }
68
60
} HA_CREATE_INFO;
69
61
 
70
62
typedef struct st_ha_alter_information
76
68
  uint32_t index_add_count;
77
69
  uint32_t *index_add_buffer;
78
70
  void *data;
79
 
 
80
 
  st_ha_alter_information() :
81
 
    key_info_buffer(0),
82
 
    key_count(0),
83
 
    index_drop_count(0),
84
 
    index_drop_buffer(0),
85
 
    index_add_count(0),
86
 
    index_add_buffer(0),
87
 
    data(0)
88
 
  { }
89
 
 
90
71
} HA_ALTER_INFO;
91
72
 
92
73
 
136
117
  uint32_t (*next) (range_seq_t seq, KEY_MULTI_RANGE *range);
137
118
} RANGE_SEQ_IF;
138
119
 
 
120
/*
 
121
  This is a buffer area that the handler can use to store rows.
 
122
  'end_of_used_area' should be kept updated after calls to
 
123
  read-functions so that other parts of the code can use the
 
124
  remaining area (until next read calls is issued).
 
125
*/
 
126
 
 
127
typedef struct st_handler_buffer
 
128
{
 
129
  unsigned char *buffer;         /* Buffer one can start using */
 
130
  unsigned char *buffer_end;     /* End of buffer */
 
131
  unsigned char *end_of_used_area;     /* End of area that was used by handler */
 
132
} HANDLER_BUFFER;
 
133
 
139
134
} /* namespace drizzled */
140
135
 
141
136
#endif /* DRIZZLED_HANDLER_STRUCTS_H */