~snowstalker/drizzle/startup-errors

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.h

  • Committer: Brian Aker
  • Date: 2009-11-26 18:48:20 UTC
  • mfrom: (1226.1.3 push)
  • Revision ID: brian@gaz-20091126184820-hltr0upee0ahopsj
Bundle Brian + Monty  (been through staging, just collecting it as want
overall patch as seen by staging).

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
  int rnd_init(bool scan=1);
121
121
  int rnd_next(unsigned char *buf);
122
122
  int rnd_pos(unsigned char * buf, unsigned char *pos);
123
 
  int get_row(azio_stream *file_to_read, unsigned char *buf);
124
 
  int get_row_version2(azio_stream *file_to_read, unsigned char *buf);
125
 
  int get_row_version3(azio_stream *file_to_read, unsigned char *buf);
126
123
  ArchiveShare *get_share(const char *table_name, int *rc);
127
124
  int free_share();
128
125
  int init_archive_writer();
129
126
  int init_archive_reader();
130
127
  bool auto_repair() const { return 1; } // For the moment we just do this
131
 
  int read_data_header(azio_stream *file_to_read);
132
128
  void position(const unsigned char *record);
133
129
  int info(uint);
134
 
  int optimize(Session* session);
135
 
  int repair(Session* session);
 
130
private:
 
131
  int get_row(azio_stream *file_to_read, unsigned char *buf);
 
132
  int get_row_version2(azio_stream *file_to_read, unsigned char *buf);
 
133
  int get_row_version3(azio_stream *file_to_read, unsigned char *buf);
 
134
  int read_data_header(azio_stream *file_to_read);
 
135
  int optimize();
 
136
  int repair();
 
137
public:
136
138
  void start_bulk_insert(ha_rows rows);
137
139
  int end_bulk_insert();
138
140
  enum row_type get_row_type() const