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

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_cache.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

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;