~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/mf_iocache.cc

Removed/replaced DBUG symbols and standardized TRUE/FALSE

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  only be created if a write exeeds the file buffer or if one calls
32
32
  flush_io_cache().  
33
33
*/
34
 
#include <drizzled/server_includes.h>
 
34
 
 
35
#include "mysql_priv.h"
 
36
#ifdef HAVE_REPLICATION
35
37
 
36
38
extern "C" {
37
39
 
43
45
  @retval
44
46
    0   if record read
45
47
*/
46
 
int _my_b_net_read(register IO_CACHE *info, unsigned char *Buffer,
 
48
int _my_b_net_read(register IO_CACHE *info, uchar *Buffer,
47
49
                   size_t Count __attribute__((unused)))
48
50
{
49
51
  ulong read_length;
63
65
    return(1);
64
66
  }
65
67
  /* to set up stuff for my_b_get (no _) */
66
 
  info->read_end = (info->read_pos = (unsigned char*) net->read_pos) + read_length;
 
68
  info->read_end = (info->read_pos = (uchar*) net->read_pos) + read_length;
67
69
  Buffer[0] = info->read_pos[0];                /* length is always 1 */
68
70
 
69
71
  /*
80
82
}
81
83
 
82
84
} /* extern "C" */
 
85
#endif /* HAVE_REPLICATION */