~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/keycache.h

  • Committer: Brian Aker
  • Date: 2008-07-06 07:56:50 UTC
  • mfrom: (53.2.38 codestyle)
  • Revision ID: brian@tangent.org-20080706075650-17hslbw06ggz9zb0
Resolved merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#ifndef _keycache_h
19
19
#define _keycache_h
 
20
 
 
21
#include <my_global.h>
 
22
 
20
23
C_MODE_START
21
24
 
 
25
enum flush_type
 
26
{
 
27
  FLUSH_KEEP,           /* flush block and keep it in the cache */
 
28
  FLUSH_RELEASE,        /* flush block and remove it from the cache */
 
29
  FLUSH_IGNORE_CHANGED, /* remove block from the cache */
 
30
  /*
 
31
 *     As my_disable_flush_pagecache_blocks is always 0, the following option
 
32
 *         is strictly equivalent to FLUSH_KEEP
 
33
 *           */
 
34
  FLUSH_FORCE_WRITE
 
35
};
 
36
 
22
37
/* declare structures that is used by st_key_cache */
23
38
 
24
39
struct st_block_link;