~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_cache.cc

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  Allows "partial read" errors in the record header (when READING_HEADER flag
29
29
  is set) - unread part is zero'ed
30
30
 
31
 
  Note: out-of-cache reads are enabled for shared IO_CACHE's too,
 
31
  Note: out-of-cache reads are enabled for shared io_cache_st's too,
32
32
  as these reads will be cached by OS cache (and my_pread is always atomic)
33
33
*/
34
34
 
41
41
using namespace drizzled;
42
42
 
43
43
 
44
 
int _mi_read_cache(internal::IO_CACHE *info, unsigned char *buff, internal::my_off_t pos, uint32_t length,
 
44
int _mi_read_cache(internal::io_cache_st *info, unsigned char *buff, internal::my_off_t pos, uint32_t length,
45
45
                   int flag)
46
46
{
47
47
  uint32_t read_length,in_buff_length;