~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/mf_iocache.cc

  • Committer: Monty Taylor
  • Date: 2008-11-18 22:12:56 UTC
  • mto: (589.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 589.
  • Revision ID: monty@inaugust.com-20081118221256-ap2kmj073pdw7uap
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes. 

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
 
 
36
 
extern "C" {
 
35
#include <drizzled/session.h>
37
36
 
38
37
/**
39
38
  Read buffered from the net.
43
42
  @retval
44
43
    0   if record read
45
44
*/
46
 
int _my_b_net_read(register IO_CACHE *info, unsigned char *Buffer,
47
 
                   size_t Count __attribute__((unused)))
 
45
int _my_b_net_read(register IO_CACHE *info, unsigned char *Buffer, size_t)
48
46
{
49
47
  ulong read_length;
50
48
  NET *net= &(current_session)->net;
78
76
 
79
77
  return(0);
80
78
}
81
 
 
82
 
} /* extern "C" */