~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to plugin/myisam/myisam.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.2.11) (2.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20120619104649-9ij634mxm4x8pp4l
Tags: 1:7.1.36-stable-1ubuntu1
* Merge from Debian unstable. (LP: #987575)
  Remaining changes:
  - Added upstart script.
* debian/drizzle.upstart: dropped logger since upstart logs job
  output now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#pragma once
19
19
 
20
 
#include <drizzled/identifier.h>
21
 
 
 
20
#include <drizzled/common_fwd.h>
22
21
#include <drizzled/key_map.h>
23
 
 
24
22
#include <drizzled/base.h>
25
 
#ifndef _m_ctype_h
26
 
#include <drizzled/charset_info.h>
27
 
#endif
28
 
#ifndef _keycache_h
29
 
#include "keycache.h"
30
 
#endif
31
23
#include <plugin/myisam/my_handler.h>
32
24
#include <drizzled/internal/iocache.h>
33
25
 
119
111
                            (_to_)= (mi_get_mask_all_keys_active(_maxkeys_) & \
120
112
                                     (_from_))
121
113
 
 
114
typedef uint32_t ha_checksum;
 
115
 
122
116
        /* Param to/from mi_status */
123
 
 
124
117
typedef struct st_mi_isaminfo           /* Struct from h_info */
125
118
{
126
119
  drizzled::ha_rows records;                    /* Records in database */
331
324
 
332
325
#define T_AUTO_INC              1
333
326
#define T_AUTO_REPAIR           2              /* QQ to be removed */
334
 
#define T_BACKUP_DATA           4
335
327
#define T_CALC_CHECKSUM         8
336
328
#define T_CHECK                 16             /* QQ to be removed */
337
329
#define T_CHECK_ONLY_CHANGED    32             /* QQ to be removed */
405
397
  drizzled::internal::my_off_t new_file_pos,key_file_blocks;
406
398
  drizzled::internal::my_off_t keydata,totaldata,key_blocks,start_check_pos;
407
399
  drizzled::ha_rows total_records,total_deleted;
408
 
  drizzled::internal::ha_checksum record_checksum,glob_crc;
 
400
  ha_checksum record_checksum,glob_crc;
409
401
  uint64_t use_buffers;
410
402
  size_t read_buffer_length, write_buffer_length,
411
403
         sort_buffer_length, sort_key_blocks;
418
410
  char temp_filename[FN_REFLEN],*isam_file_name;
419
411
  int tmpfile_createflag;
420
412
  drizzled::myf myf_rw;
421
 
  drizzled::internal::IO_CACHE read_cache;
 
413
  drizzled::internal::io_cache_st read_cache;
422
414
 
423
415
  /*
424
416
    The next two are used to collect statistics, see update_key_parts for
427
419
  uint64_t unique_count[MI_MAX_KEY_SEG+1];
428
420
  uint64_t notnull_count[MI_MAX_KEY_SEG+1];
429
421
 
430
 
  drizzled::internal::ha_checksum key_crc[HA_MAX_POSSIBLE_KEY];
 
422
  ha_checksum key_crc[HA_MAX_POSSIBLE_KEY];
431
423
  ulong rec_per_key_part[MI_MAX_KEY_SEG*HA_MAX_POSSIBLE_KEY];
432
424
  void *session;
433
425
  const char *db_name, *table_name;