~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/mf_iocache.cc

  • Committer: Monty Taylor
  • Date: 2008-10-27 23:19:48 UTC
  • mto: (520.4.12 merge-innodb-plugin)
  • mto: This revision was merged to the branch mainline in revision 563.
  • Revision ID: monty@inaugust.com-20081027231948-3kl6ss04plbakqcr
Split some more things out of common_includes.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  also info->rc_pos is set to info->rc_end.
30
30
  If called through open_cached_file(), then the temporary file will
31
31
  only be created if a write exeeds the file buffer or if one calls
32
 
  flush_io_cache().
 
32
  flush_io_cache().  
33
33
*/
34
34
#include <drizzled/server_includes.h>
35
 
#include <drizzled/session.h>
 
35
 
 
36
extern "C" {
36
37
 
37
38
/**
38
39
  Read buffered from the net.
42
43
  @retval
43
44
    0   if record read
44
45
*/
45
 
int _my_b_net_read(register IO_CACHE *info, unsigned char *Buffer, size_t)
 
46
int _my_b_net_read(register IO_CACHE *info, unsigned char *Buffer,
 
47
                   size_t Count __attribute__((unused)))
46
48
{
47
49
  ulong read_length;
48
50
  NET *net= &(current_session)->net;
76
78
 
77
79
  return(0);
78
80
}
 
81
 
 
82
} /* extern "C" */