~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.h

  • Committer: Brian Aker
  • Date: 2009-12-01 02:39:03 UTC
  • mfrom: (1234.1.4 push)
  • Revision ID: brian@gaz-20091201023903-1id5z7xnup695jaq
Merge of Brian + Jay test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
  }
103
103
  void get_auto_increment(uint64_t, uint64_t, uint64_t,
104
104
                          uint64_t *first_value, uint64_t *nb_reserved_values);
105
 
  uint32_t max_supported_keys()          const { return 1; }
106
 
  uint32_t max_supported_key_length()    const { return sizeof(uint64_t); }
107
 
  uint32_t max_supported_key_part_length() const { return sizeof(uint64_t); }
108
105
  ha_rows records() { return share->rows_recorded; }
109
106
  int index_init(uint32_t keynr, bool sorted);
110
107
  virtual int index_read(unsigned char * buf, const unsigned char * key,
124
121
  int free_share();
125
122
  int init_archive_writer();
126
123
  int init_archive_reader();
127
 
  bool auto_repair() const { return 1; } // For the moment we just do this
128
124
  void position(const unsigned char *record);
129
125
  int info(uint);
130
126
private:
143
139
  }
144
140
  THR_LOCK_DATA **store_lock(Session *session, THR_LOCK_DATA **to,
145
141
                             enum thr_lock_type lock_type);
146
 
  bool is_crashed() const;
147
142
  int check(Session* session);
148
143
  bool check_and_repair(Session *session);
149
144
  uint32_t max_row_length(const unsigned char *buf);