~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/iocache.h

  • Committer: Mark Atwood
  • Date: 2011-04-29 00:19:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2297.
  • Revision ID: me@mark.atwood.name-20110429001938-ps5i74hzcic7dvr3
Merge in Fixes of Brian's IOCACHE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    Callbacks when the actual read I/O happens. These were added and
95
95
    are currently used for binary logging of LOAD DATA INFILE - when a
96
96
    block is read from the file, we create a block create/append event, and
97
 
    when IO_CACHE is closed, we create an end event. These functions could,
 
97
    when io_cache_st is closed, we create an end event. These functions could,
98
98
    of course be used for other things
99
99
  */
100
 
  IO_CACHE_CALLBACK pre_read;
101
 
  IO_CACHE_CALLBACK post_read;
102
 
  IO_CACHE_CALLBACK pre_close;
 
100
  io_cache_st_CALLBACK pre_read;
 
101
  io_cache_st_CALLBACK post_read;
 
102
  io_cache_st_CALLBACK pre_close;
103
103
  void* arg;        /* for use by pre/post_read */
104
104
  char *file_name;      /* if used with 'open_cached_file' */
105
105
  char *dir,*prefix;