~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/linebuffer.cc

  • Committer: Robert Klahn
  • Date: 2009-07-20 00:22:07 UTC
  • mto: (1093.1.23 captain)
  • mto: This revision was merged to the branch mainline in revision 1099.
  • Revision ID: rklahn@quad-20090720002207-uwswjfdfec0ssda2
more changes from code review feedback

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
  if (file && !eof)
46
46
  {
47
 
    if ((read_count=my_read(fileno(file),
48
 
                            (unsigned char *) (&line[0]),
49
 
                            max_size-1,MYF(MY_WME))))
 
47
    if ((read_count= my_read(fileno(file),
 
48
                             (unsigned char *) (&line[0]),
 
49
                             max_size-1,MYF(MY_WME))))
50
50
    {
51
51
      line[read_count+1]= '\0';
52
52
      buffer << &line[0];