~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/ha_archive.cc

  • Committer: Monty Taylor
  • Date: 2008-08-02 01:03:15 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080802010315-65h5938pymg9d99z
Moved m4 macros to top-level m4 dir, per GNU standards (and where gettext wanted it :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#pragma implementation        // gcc: Class implementation
18
18
#endif
19
19
 
20
 
#include <drizzled/common_includes.h>
 
20
#include <drizzled/mysql_priv.h>
21
21
#include <storage/myisam/myisam.h>
22
22
 
23
23
#include "ha_archive.h"
115
115
                     uchar **frmblob, 
116
116
                     size_t *frmlen);
117
117
 
118
 
static bool archive_use_aio= false;
 
118
static my_bool archive_use_aio= false;
119
119
 
120
120
/*
121
121
  Number of rows that will force a bulk insert.
138
138
  Used for hash table that tracks open tables.
139
139
*/
140
140
static uchar* archive_get_key(ARCHIVE_SHARE *share, size_t *length,
141
 
                             bool not_used __attribute__((unused)))
 
141
                             my_bool not_used __attribute__((unused)))
142
142
{
143
143
  *length=share->table_name_length;
144
144
  return (uchar*) share->table_name;
310
310
    share->archive_write_open= false;
311
311
    fn_format(share->data_file_name, table_name, "",
312
312
              ARZ, MY_REPLACE_EXT | MY_UNPACK_FILENAME);
313
 
    stpcpy(share->table_name, table_name);
 
313
    strmov(share->table_name, table_name);
314
314
    /*
315
315
      We will use this lock for rows.
316
316
    */