~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/azio.h

Merging trunk changes from over weekend.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
#ifdef  __cplusplus
53
53
extern "C" {
54
54
#endif
 
55
 
55
56
/* Start of MySQL Specific Information */
56
57
 
57
58
/* Some personal debugging functions */
63
64
/*
64
65
  ulonglong + ulonglong + ulonglong + ulonglong + uchar
65
66
*/
66
 
#define AZMETA_BUFFER_SIZE sizeof(unsigned long long) \
67
 
  + sizeof(unsigned long long) + sizeof(unsigned long long) + sizeof(unsigned long long) \
 
67
#define AZMETA_BUFFER_SIZE sizeof(uint64_t) \
 
68
  + sizeof(uint64_t) + sizeof(uint64_t) + sizeof(uint64_t) \
68
69
  + sizeof(unsigned int) + sizeof(unsigned int) \
69
70
  + sizeof(unsigned int) + sizeof(unsigned int) \
70
71
  + sizeof(unsigned char)
225
226
typedef enum {
226
227
  AZ_METHOD_BLOCK,
227
228
  AZ_METHOD_AIO,
228
 
  AZ_METHOD_MAX,
 
229
  AZ_METHOD_MAX
229
230
} az_method;
230
231
 
231
232
typedef struct azio_container_st azio_container_st;
264
265
  unsigned char version;   /* Version */
265
266
  unsigned char minor_version;   /* Version */
266
267
  unsigned int block_size;   /* Block Size */
267
 
  unsigned long long check_point;   /* Last position we checked */
268
 
  unsigned long long forced_flushes;   /* Forced Flushes */
269
 
  unsigned long long rows;   /* rows */
270
 
  unsigned long long auto_increment;   /* auto increment field */
 
268
  uint64_t check_point;   /* Last position we checked */
 
269
  uint64_t forced_flushes;   /* Forced Flushes */
 
270
  uint64_t rows;   /* rows */
 
271
  uint64_t auto_increment;   /* auto increment field */
271
272
  unsigned int longest_row;   /* Longest row */
272
273
  unsigned int shortest_row;   /* Shortest row */
273
274
  unsigned char dirty;   /* State of file */