~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler_structs.h

  • Committer: Stewart Smith
  • Date: 2010-06-16 14:23:07 UTC
  • mto: (1626.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1633.
  • Revision ID: stewart@flamingspork.com-20100616142307-xzid4yzriltwu6tt
add basic test for Handler_update status variable

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;
52
55
  uint64_t auto_increment_value;
53
56
  uint32_t table_options;
54
57
  uint32_t used_fields;
 
58
  enum row_type row_type;
55
59
  plugin::StorageEngine *db_type;
56
60
  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
61
} HA_CREATE_INFO;
69
62
 
70
63
typedef struct st_ha_alter_information
76
69
  uint32_t index_add_count;
77
70
  uint32_t *index_add_buffer;
78
71
  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
72
} HA_ALTER_INFO;
91
73
 
92
74
 
136
118
  uint32_t (*next) (range_seq_t seq, KEY_MULTI_RANGE *range);
137
119
} RANGE_SEQ_IF;
138
120
 
 
121
/*
 
122
  This is a buffer area that the handler can use to store rows.
 
123
  'end_of_used_area' should be kept updated after calls to
 
124
  read-functions so that other parts of the code can use the
 
125
  remaining area (until next read calls is issued).
 
126
*/
 
127
 
 
128
typedef struct st_handler_buffer
 
129
{
 
130
  unsigned char *buffer;         /* Buffer one can start using */
 
131
  unsigned char *buffer_end;     /* End of buffer */
 
132
  unsigned char *end_of_used_area;     /* End of area that was used by handler */
 
133
} HANDLER_BUFFER;
 
134
 
139
135
} /* namespace drizzled */
140
136
 
141
137
#endif /* DRIZZLED_HANDLER_STRUCTS_H */