~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.h

Removed my_print_defaults. Guess what - it's no longer relevant.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
  You should have received a copy of the GNU General Public License
13
13
  along with this program; if not, write to the Free Software
14
 
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
#ifndef PLUGIN_ARCHIVE_HA_ARCHIVE_H
17
17
#define PLUGIN_ARCHIVE_HA_ARCHIVE_H
31
31
  bool prime(uint64_t *auto_increment);
32
32
 
33
33
  std::string table_name;
34
 
  std::string data_file_name;
 
34
  char data_file_name[FN_REFLEN];
35
35
  uint32_t use_count;
36
36
  pthread_mutex_t _mutex;
37
37
  drizzled::THR_LOCK _lock;
79
79
 
80
80
public:
81
81
  ha_archive(drizzled::plugin::StorageEngine &engine_arg,
82
 
             drizzled::Table &table_arg);
 
82
             drizzled::TableShare &table_arg);
83
83
  ~ha_archive()
84
84
  { }
85
85
 
93
93
                         uint32_t key_len,
94
94
                         drizzled::ha_rkey_function find_flag);
95
95
  int index_next(unsigned char * buf);
96
 
  int doOpen(const drizzled::identifier::Table &identifier, int mode, uint32_t test_if_locked);
 
96
  int doOpen(const drizzled::TableIdentifier &identifier, int mode, uint32_t test_if_locked);
97
97
  int open(const char *name, int mode, uint32_t test_if_locked);
98
98
  int close(void);
99
99
  int doInsertRecord(unsigned char * buf);